dede07748a789079c0fd53dd08037ed1568651ea
ICoreInterface is the vtable ABI contract between the already-loaded Plugin and a freshly hot-reloaded Core. reloadConfig() was added mid-interface (after getConfigJson), which shifted every later vtable slot — so the still-running Plugin's calls to saveState/restoreState/getStateFormatVersion/onPluginEvent dispatched to the wrong methods on the new Core. Symptom: state restore read a garbage version (2303262719), threw basic_string::_M_create, and left the Core uninitialized (onPluginEvent ignored, initialized=false). Move reloadConfig() to the very end of the interface (append-only) so all pre-existing slots keep their indices. Add a comment documenting the rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Releases
2
EchoionApi 2.0.1
Latest
Languages
C++
77.8%
CMake
10.4%
Python
8.7%
C
3.1%