Don't GC view when process is active, don't show some buffers

This commit is contained in:
Krzosa Karol
2026-01-03 15:04:46 +01:00
parent bfcab9b3c3
commit 1b8f0b12e8
2 changed files with 7 additions and 0 deletions

View File

@@ -508,6 +508,10 @@ void GarbageCollect() {
if (ref) {
continue;
}
if (ProcessIsActive(it->id)) {
continue;
}
}
RawAppendf(GCInfoBuffer, "View %d %S\n", (int)it->id.id, buffer ? buffer->name : String{"NULL"});