minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-03 20:50:40 +03:00
parent d18823c6a5
commit fc3d0b849d
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ig-types",
"version": "5.0.36",
"version": "5.0.37",
"description": "Generic JavaScript types and type extensions...",
"main": "main.js",
"scripts": {

View File

@ -122,7 +122,6 @@ object.Constructor('Queue', Array, {
runtime_stats: true,
//
// This can be:
// 'running'
@ -145,7 +144,7 @@ object.Constructor('Queue', Array, {
// XXX would be nice to run a specific number of tasks and stop...
start: events.Event('start', function(handle, sync){
// can't start while running...
if(this.state == 'running'){
if(this.__state == 'running'){
return handle(false) }
this.__state = 'running'
this.__run_tasks__(sync) }),