mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 17:23:00 +02:00
sg
This commit is contained in:
@@ -532,13 +532,6 @@ export function createAndAddWorkerScript(
|
||||
}
|
||||
}
|
||||
|
||||
// If the WorkerScript is no longer "running", then this means its execution was
|
||||
// already stopped somewhere else (maybe by something like exit()). This prevents
|
||||
// the script from being cleaned up twice
|
||||
if (w === undefined || !w.running) {
|
||||
return;
|
||||
}
|
||||
|
||||
killWorkerScript(s);
|
||||
w.log("", "Script finished running");
|
||||
}).catch(function (w) {
|
||||
|
||||
Reference in New Issue
Block a user