mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
UI: Fix (most) perf issues in Active Scripts (#498)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
import { ScriptDeath } from "./ScriptDeath";
|
||||
import { WorkerScript } from "./WorkerScript";
|
||||
import { workerScripts } from "./WorkerScripts";
|
||||
import { WorkerScriptStartStopEventEmitter } from "./WorkerScriptStartStopEventEmitter";
|
||||
|
||||
import { GetServer } from "../Server/AllServers";
|
||||
import { AddRecentScript } from "./RecentScripts";
|
||||
@@ -91,5 +90,4 @@ function removeWorkerScript(workerScript: WorkerScript): void {
|
||||
|
||||
workerScripts.delete(workerScript.pid);
|
||||
AddRecentScript(workerScript);
|
||||
WorkerScriptStartStopEventEmitter.emit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user