icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -508,8 +508,16 @@ TLSTransportLayer::OpenOutputStream(uint32_t aFlags, uint32_t aSegmentSize,
|
|||
|
||||
NS_IMETHODIMP
|
||||
TLSTransportLayer::Close(nsresult aReason) {
|
||||
LOG(("TLSTransportLayer::Close [this=%p reason=%" PRIx32 "]\n", this,
|
||||
static_cast<uint32_t>(aReason)));
|
||||
bool onSocketThread = OnSocketThread();
|
||||
LOG(("TLSTransportLayer::Close [this=%p reason=%" PRIx32 "] sts=%d", this,
|
||||
static_cast<uint32_t>(aReason), onSocketThread));
|
||||
|
||||
if (!onSocketThread) {
|
||||
gSocketTransportService->Dispatch(NS_NewRunnableFunction(
|
||||
"TLSTransportLayer::Close",
|
||||
[self = RefPtr{this}, aReason] { self->Close(aReason); }));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
mInputCallback = nullptr;
|
||||
mOutputCallback = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue