Function sentry_contrib_native_sys::clear_modulecache
source · [−]pub unsafe extern "C" fn clear_modulecache()
Expand description
Clears the internal module cache.
For performance reasons, Sentry will cache the list of loaded libraries
when capturing events. This cache can get out-of-date when loading
or unloading libraries at runtime. It is therefore recommended to
call sentry_clear_modulecache
when doing so, to make sure that the
next call to sentry_capture_event
will have an up-to-date module
list.