mutex release bugfix

This commit is contained in:
julian 2023-09-08 12:59:54 -06:00
parent 2cf5e01d58
commit cdee218133

View file

@ -123,7 +123,9 @@ class ElectrumX {
case TorConnectionStatus.connected:
case TorConnectionStatus.disconnected:
_torConnectingLock.release();
if (_torConnectingLock.isLocked) {
_torConnectingLock.release();
}
_requireMutex = false;
break;
}