[DAEMON-239] appcd-plugin: Scheme needs to cancel debounced scheme change events on shutdown
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2018-02-16T04:44:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.1.0 |
Components | appcd-plugin |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2018-02-16T04:27:01.000+0000 |
Updated | 2018-02-16T04:44:39.000+0000 |
Description
When the PluginManager shuts down, it unregisters all plugin paths and the scheme associated with the plugin path. If it's shut down while a scheme's debounced change event is pending, things go haywire. The scheme
destory()
method needs to call the cancel()
method introduced by DAEMON-238.
https://github.com/appcelerator/appc-daemon/pull/283