@php-wasm/util
Advanced tools
Comparing version
@@ -19,3 +19,8 @@ // packages/php-wasm/util/src/lib/semaphore.ts | ||
this._running++; | ||
let released = false; | ||
return () => { | ||
if (released) { | ||
return; | ||
} | ||
released = true; | ||
this._running--; | ||
@@ -22,0 +27,0 @@ if (this.queue.length > 0) { |
{ | ||
"name": "@php-wasm/util", | ||
"version": "0.1.60", | ||
"version": "0.1.61", | ||
"type": "commonjs", | ||
@@ -15,3 +15,3 @@ "typedoc": { | ||
}, | ||
"gitHead": "3046803036b19d2c73c63cb01dfb37b1c222d847" | ||
"gitHead": "f2cd7382004f7b003904b5db1d33d37fd2b1bfab" | ||
} |
2568
4.69%81
6.58%