-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Pymel will call removeCallback for already-loaded plugins if the plugins are loaded again. This occurs here: https://github.com/LumaPictures/pymel/blob/master/pymel/core/__init__.py#L247
If a callback is removed via this code path, the internal callback cache is not updated to reflect this, which can result in a redundant removeCallback call here: https://github.com/LumaPictures/pymel/blob/master/pymel/core/__init__.py#L213
The workaround is to add the following code after removing the callback at line 247: _pluginData[pluginName]['callbackId'] = None
Metadata
Metadata
Assignees
Labels
No labels