fix ui/eval pool.destroy as well
parent
a5ea0fc7fb
commit
1c6df4ff98
|
@ -138,7 +138,7 @@ export class Pool {
|
|||
this.workers.forEach(w => w.stop());
|
||||
}
|
||||
|
||||
destroy(): void {
|
||||
destroy = () => {
|
||||
this.stop();
|
||||
this.workers.forEach(w => w.destroy());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue