mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
51c0a3d469
Using Q_GLOBAL_STATIC meant that the CutterCore was destructed late as part of a binary destructor. It would then free the RzCore, calling for example the fini callbacks of all plugins. However global destructors in shared library plugins may have already been run at this point, leading to for example rz-ghidra's decompiler_mutex being used after destruction. Instead of the Q_GLOBAL_STATIC-managed global object, we are now handling the lifetime of the CutterCore ourselves and only injecting its instance to be accessed globally. This can also be a first step towards making the core instance completely local. |
||
---|---|---|
.. | ||
bindings | ||
common | ||
core | ||
dialogs | ||
fonts | ||
img | ||
menus | ||
plugins | ||
python | ||
themes | ||
translations@974298653b | ||
widgets | ||
CMakeLists.txt | ||
CutterApplication.cpp | ||
CutterApplication.h | ||
CutterConfig.h.in | ||
Main.cpp | ||
re.rizin.cutter.appdata.xml | ||
re.rizin.cutter.desktop | ||
resources.qrc |