How to use LrShutdownPlugin
My plugin spawns a background process, which needs to be shutdown when Lightroom is exited or the plugin is disabled.
SDK manual states that in Info.lua, I can specify a function using LrShutdownPlugin key. I am a bit confused with this - Info.lua does not allow require/import, so I can't really do anything useful with this? Ideally, I'd like to be able to make a HTTP request when Lightroom is exiting.
Same goes for LrEnablePlugin/LrDisablePlugin functions, I don't even know how to print a line into log so I don't know if these actually were called or not... ![]()
