Speedo cable replacement?

Will the transmission drain the oil when I remove the bolt, retainer and adapter out of the transmission before I disconnect the speedo cable from the adapter?

Thanks all.