mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
Finished refactoring Active Scripts UI into React/TypeScript. Currently untested
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Function that stops an active script (represented by a WorkerScript object)
|
||||
* Stops an actively-running script (represented by a WorkerScript object)
|
||||
* and removes it from the global pool of active scripts.
|
||||
*/
|
||||
import { WorkerScript } from "./WorkerScript";
|
||||
@@ -34,6 +34,8 @@ export function killWorkerScript(script: RunningScript | WorkerScript, serverIp?
|
||||
|
||||
return false;
|
||||
} else {
|
||||
console.error(`killWorkerScript() called with invalid argument:`);
|
||||
console.error(script);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user