diff options
-rw-r--r-- | examples/nword.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/nword.js b/examples/nword.js index 19c9c8a..1316db2 100644 --- a/examples/nword.js +++ b/examples/nword.js @@ -37,6 +37,9 @@ main.on('init',(send)=>{ main.sender = send; wq.enable(); }); +main.on('close',()=>{ + wq.disable(); +}); var expire = {}; main.on('tileUpdate', (send, source, tiles)=>{ |