0f59d51536
This fixes an issue clang's static analyzer found: if an exception occured in a call to managed code, we wouldn't process the list of objects to dispose: trampolines-invoke.m:549:2: warning: Potential leak of memory pointed to by 'dispose_list' MONO_THREAD_DETACH; // COOP: This will switch to GC_SAFE ^~~~~~~~~~~~~~~~~~ ./xamarin/runtime.h:306:11: note: expanded from macro 'MONO_THREAD_DETACH' } while (0) ^ Fix this by always processing the list of objects to dispose, even if exceptions occur. |
||
---|---|---|
.. | ||
launch.h | ||
main.h | ||
runtime.h | ||
trampolines.h | ||
xamarin.h |