justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Problem is I can't be picky when things get deleted since they reside in WDL_PtrListDeleteOnDestroy within WDL_PtrList which manages stuff in all active projects. So sometimes the object may get deleted because it's not needed, and sometimes when Reaper quits :) However, this seems to do the trick for now: if (EnumProjects(0, NULL, 0)) DestroyAudioAccessor(m
Asked by Martin (93.139.111.x) on March 18 2014, 1:17am
Reply on March 18 2014, 1:29am (edited at March 18 2014, 1:51am):
    Just don't delete anything that you don't need to in the unload, then (and don't make your global ptrlists DeleteOnDestroy)... On OSX you will not get your DLL unloaded, too.

    Anyway fixing it on our end too, mostly.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS