diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-08-18 20:38:11 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-08-18 20:38:11 +0200 |
| commit | c2d22e05604e47aad77d0305385880687508912c (patch) | |
| tree | 107df9cd9291b32788526ea7040666f50c6957e4 /src/server/documents.odin | |
| parent | 20bcae6c14773217c6e9a3217150ac4468036e64 (diff) | |
Change resolve structure to fix debug crash in Odin
Diffstat (limited to 'src/server/documents.odin')
| -rw-r--r-- | src/server/documents.odin | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/documents.odin b/src/server/documents.odin index d5b0f09..52309ed 100644 --- a/src/server/documents.odin +++ b/src/server/documents.odin @@ -378,9 +378,7 @@ parse_document :: proc(document: ^Document, config: ^common.Config) -> ([]Parser current_errors = make([dynamic]ParserError, context.temp_allocator) if document.uri.uri in file_resolve_cache.files { - key := file_resolve_cache.files[document.uri.uri] delete_key(&file_resolve_cache.files, document.uri.uri) - delete(key) } free_all(common.scratch_allocator(document.allocator)) |