Respond to shutdown request

This commit is contained in:
Alexandros Naskos
2020-06-17 00:26:45 +03:00
parent 8beedb0384
commit 20ec7470bb
3 changed files with 17 additions and 6 deletions

View File

@@ -1510,6 +1510,7 @@ pub const DocumentScope = struct {
for (self.scopes) |scope| {
scope.decls.deinit();
allocator.free(scope.uses);
allocator.free(scope.tests);
}
allocator.free(self.scopes);
}