Post

Replies

Boosts

Views

Activity

Can I flag a Cocoa bundle so that an application cannot unload it until the app quits?
Referencing this question from 2 years ago... https://developer.apple.com/forums/thread/100321 and this from CFBundle documentation... "When the last reference to the CFBundle object is released and it is finally deallocated, then the code will be unloaded if it is still loaded and if the executable is of a type that supports unloading." https://developer.apple.com/documentation/corefoundation/cfbundle?language=objc If I am writing a Cocoa bundle (e.g. an audio VST plugin) that is third party to the applications (e.g. digital audio workstations DAWs) that load and run it, how can I prevent an application from trying to unload it? Can I flag it in some way to force it to stay in memory until the application quits? Thank you
3
0
372
Sep ’20