Closed kadisonm closed 6 months ago
For more context. While developing whenever the build would finish and hot-reload would reload the plugin, the previous intervals would still be running. At some point I had 5 printing to the console at the same time.
I'm no longer able to reproduce this issue unless I comment out the window.clearInterval. So I believe it works.
Looks good, merged!
Fixes multiple Sync on Remotes from running by making sure only one can run. Previously if the plugin unloaded correctly multiple could run.
Potentially stop Sync on Remote from running twice.