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.connected:
case TorConnectionStatus.disconnected: case TorConnectionStatus.disconnected:
if (_torConnectingLock.isLocked) {
_torConnectingLock.release(); _torConnectingLock.release();
}
_requireMutex = false; _requireMutex = false;
break; break;
} }