*Ensure we release the mutex before aborting if we have an active relay
This commit is contained in:
parent
4b6ab61da5
commit
b6dda4dd5e
|
@ -177,6 +177,7 @@ export default class HyperswarmWeb extends EventEmitter {
|
|||
this._connectionMutex.acquire();
|
||||
|
||||
if (this._activeRelay) {
|
||||
this._connectionMutex.release();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue