Closed iboB closed 7 years ago
Have a plugin which defines (and registers) a message. Unload the plugin. The message registry remains corrupt at the plugin message id.
This will lead to an assertion (and subsequently UB) when loading another plugin with messages (or reloading the same one).
The solution is to explicitly unregister messages the same way mixins are unregistered.
Have a plugin which defines (and registers) a message. Unload the plugin. The message registry remains corrupt at the plugin message id.
This will lead to an assertion (and subsequently UB) when loading another plugin with messages (or reloading the same one).
The solution is to explicitly unregister messages the same way mixins are unregistered.