I’m making use of LexActivator’s SetLicenseCallback to get notified when a server sync has happened. However, I’m only interested in the very 1st server sync notification.
Is it OK if I call SetLicenseCallback(nullptr) at the end of my callback function to prevent any callbacks being done? Or might this lead to undefined behavior in the LexActivator library? So far it seems to work without crashing anything, but this isn’t documented either, so I’m a bit uneasy putting it in production code.