Worker does not works on not linux
This commit is contained in:
1 parent
99a00e0743
commit
38ac9d90b8
2 files changed
+3
-1
No files matched your search
@@ -49,6 +49,7 @@ function initWorker(): Promise<void> {
|
||||
if (msg.ok) {
|
||||
pendingReq.resolve(msg.data);
|
||||
} else {
|
||||
console.log(msg);
|
||||
pendingReq.reject(new Error(msg.error || 'Неизвестная ошибка Worker'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user