mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
Minor improvements to Netscript Port loading and unloading
This commit is contained in:
@@ -45,9 +45,7 @@ export function prestigeWorkerScripts(): void {
|
||||
killWorkerScript(ws);
|
||||
}
|
||||
|
||||
for (const [__, port] of NetscriptPorts.entries()) {
|
||||
port.clear();
|
||||
}
|
||||
NetscriptPorts.clear();
|
||||
|
||||
WorkerScriptStartStopEventEmitter.emit();
|
||||
workerScripts.clear();
|
||||
|
||||
Reference in New Issue
Block a user