Hot Door CORE Forum

Full Version: crash when adding ArtSymbolSetChangedNotifierType notifier
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In Xcode 14 and CORE 0.8.2 I crash when adding a symbol set changed notifier.


Code:
this->symbolSetChangedNotifier = hdi::core::Notifier(hdi::core::ArtSymbolSetChangedNotifierType,
HDI_CORE_CALLBACK(myPlugin::Plugin, this, __symbolSetChangedCB));
this->__corePlug->dispatcher()->registerNotifier(this->symbolSetChangedNotifier);

Here's the error:

#0 0x000000013f26fee5 in hdi::core::ArtSymbolSetChangedNotification::ArtSymbolSetChangedNotification(hdi::core::NotifierType, void*) ()

Strangely, using ArtSymbolSetDetailedChangeNotifierType instead works fine, and is potentially more useful anyway, if one could access the AISymbolSetChangeNotifierData that should accompany it.