You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REAPER 6.66 and earlier expects the string passed in via Register("API_xxx", ®struct) to persist as long as the function pointer is valid. This causes a potential crash on exit because reapack's ~APIReg alters the string in-place before calling Register("-API_xxx").
This will be fixed in REAPER 6.67 and later, but you may want to handle the <= 6.66 case on your side by ensuring the string persists, either by passing in a persistent copy of m_help when registering, or leaving m_help untouched and passing in a local string when unregistering, or any other way.
The text was updated successfully, but these errors were encountered:
REAPER 6.66 and earlier expects the string passed in via Register("API_xxx", ®struct) to persist as long as the function pointer is valid. This causes a potential crash on exit because reapack's ~APIReg alters the string in-place before calling Register("-API_xxx").
This will be fixed in REAPER 6.67 and later, but you may want to handle the <= 6.66 case on your side by ensuring the string persists, either by passing in a persistent copy of m_help when registering, or leaving m_help untouched and passing in a local string when unregistering, or any other way.
The text was updated successfully, but these errors were encountered: