|Mac & Win
Prepares plugin for an update.
|✅ Yes, on macOS
This function was deprecated.
Returns OK or error.
DescriptionPrepares plugin for an update.
MBS Plugin prevents FileMaker from unloading itself to avoid crashes with Cocoa runtime system.
e.g. one plugin loads, registers a class. Then it may get deactivated and unloads. Later a newer plugin in a different version loads, and tries to use the class registered before. Since the first plugin is unload, all pointers are invalid and the application crashes.
This function disables this feature, so a newer plugin may load.
- Version 11.1
- Added Plugin.PrepareForUpdate function.
This function is free to use.
Created 16th February 2021, last changed 27th March 2023