diff options
| author | Harold Brenes <harold@hbrenes.com> | 2025-10-05 15:50:01 -0400 |
|---|---|---|
| committer | Harold Brenes <harold@hbrenes.com> | 2025-10-05 15:53:42 -0400 |
| commit | 86f9c920dafc40c6bb1eb5cc5461b20ca954459c (patch) | |
| tree | 99f60aa0097a6bacfbfe2f0a263aa920dc3e7378 /src/checker.cpp | |
| parent | 0f97382fa3e46da80705c00dfe02f3deb9562e4f (diff) | |
Fix Objective-C block symbols naming conflict across modules.
Fix assert triggered when there's checker errors and
Objective-C method implementations.
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 5 |
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); |