Fix scan not receiving from Worker

This commit is contained in:
Sam Carlton 2022-08-07 16:06:26 -05:00
parent 6b08545081
commit c79603b361

View file

@ -29,7 +29,9 @@ self.onmessage = async ( event ) => {
self.postMessage( {
status: 'finished',
scan
// Convert App Scan instance to a more primitive Object
// so that it's clonneable for our worker
scan: JSON.parse(JSON.stringify( scan ))
})
return