rsjaffe / MIDI2LR

An application and plugin to remotely control Lightroom with a MIDI controller
http://rsjaffe.github.io/MIDI2LR/
GNU General Public License v3.0
686 stars 83 forks source link

Do not LrTasks.yield() in shutdown plugin #377

Closed mathieucarbou closed 7 years ago

mathieucarbou commented 7 years ago

Fixed bug when reloading plugin from LR:

Plug-in error log for plug-in at: /Users/matc/workspace/oss/midi2lr/MIDI2LR/Source/LRPlugin/MIDI2LR.lrplugin

**** Error 1

An error occurred while attempting to run one of the plug-in’s scripts.
AgEventLoop.yieldToScheduler called when yielding is not allowed

**** Error 2

An error occurred while attempting to shut down the plugin.
AgEventLoop.yieldToScheduler called when yielding is not allowed