skip failed cimports on garbage collection
This commit is contained in:
parent
421a05ae5f
commit
8e6609e0f5
@ -345,7 +345,7 @@ fn garbageCollectionCImports(self: *DocumentStore) error{OutOfMemory}!void {
|
||||
|
||||
for (self.handles.values()) |handle| {
|
||||
for (handle.cimports.items(.hash)) |hash| {
|
||||
const index = self.cimports.getIndex(hash).?;
|
||||
const index = self.cimports.getIndex(hash) orelse continue;
|
||||
reachable.set(index);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user