aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-10-06 13:27:47 +0100
committerGitHub <noreply@github.com>2025-10-06 13:27:47 +0100
commit185e7cd538d722f28d07c5b111616859aba26f35 (patch)
treebaed3d7654d41ba720289f9522aabca5d42aebd6 /src/checker.cpp
parentbc9e6f852e0fe92d71cce7460f000a9ea830cdab (diff)
parente79e53dbbd4cd3298dab3ec05ca70abfc998d377 (diff)
Merge pull request #5760 from harold-b/hb.fix-objc-block-name-collision
Fix Objective-C block symbols naming conflict across modules
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 0a8590570..2a82203ef 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -1501,9 +1501,12 @@ gb_internal void destroy_checker_info(CheckerInfo *i) {
map_destroy(&i->objc_msgSend_types);
string_set_destroy(&i->obcj_class_name_set);
- mpsc_destroy(&i->objc_class_implementations);
map_destroy(&i->objc_method_implementations);
+ // NOTE(harold): Disabling this: It can cause the 'count == 0' assert to trigger
+ // when there's checker errors and the queue is still full as it did not reach the generation stage.
+ // mpsc_destroy(&i->objc_class_implementations);
+
string_map_destroy(&i->load_file_cache);
string_map_destroy(&i->load_directory_cache);
map_destroy(&i->load_directory_map);