mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 22:59:42 +02:00
Clear Netscript ports on augment install / soft reset / bitnode change
This commit is contained in:
@@ -48,6 +48,9 @@ export function prestigeWorkerScripts(): void {
|
||||
ws.env.stopFlag = true;
|
||||
killWorkerScript(ws);
|
||||
}
|
||||
for (const port of NetscriptPorts) {
|
||||
port.clear();
|
||||
}
|
||||
|
||||
WorkerScriptStartStopEventEmitter.emit();
|
||||
workerScripts.clear();
|
||||
|
||||
Reference in New Issue
Block a user