aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d0d2e2bbb..2dbac3390 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1646,6 +1646,7 @@ int main(int arg_count, char const **arg_ptr) {
arena_init(&permanent_arena, heap_allocator());
arena_init(&temporary_arena, heap_allocator());
arena_init(&global_ast_arena, heap_allocator());
+ permanent_arena.use_mutex = true;
init_string_buffer_memory();
init_string_interner();