We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b221594 commit 4b33cb2Copy full SHA for 4b33cb2
coffee/worker.coffee
@@ -42,6 +42,9 @@ if typeof importScripts is 'function' # Detect webworker context
42
catch err # Some browsers fail when trying to use transferable objects
43
postMessage result
44
when 'close'
45
- db?.close()
+ if db?
46
+ db.close()
47
+ db = null;
48
+ return undefined
49
else
50
throw new 'Invalid action : ' + data?['action']
0 commit comments