JavaScriptEnhancements
JavaScriptEnhancements copied to clipboard
Flow keeps running in the background
Expected Behavior
Complete shutdown of Sublime Text and plugins when closing Sublime Text
Actual Behavior
Flow.exe keeps running in the background
Sublime Text console logs
No errors
Screenshots
Steps to Reproduce the Problem
- Open Sublime Text
- Save a JavaScript file
- Close Sublime Text
- Open Task Manager to watch flow.exe still running
Specifications
- Sublime Text 3 build: v 3.2.1 - Build 3207
- OS: Windows 10 Education
- JavaScript Enhancements version: 0.16.20
Ditto on Mac OSX 10.14.6 with Sublime Text 3207.
I uninstalled JavaScript Enhancements, and flow shut down. It also seems to have stopped some other weird behavior, could be a coincidence.
Experienced the same issue when testing out this sublime plugin extension. Had around 20 flow processes spawn which where not taken care of, even persisted after Sublime where exited.
A quick fix would be to implement a timeout in the flow process itself, which kills the self process if it have not received a message over IPC for a given time. Even if the behaviour of spawning these processes in the first place is far from idle.
System: macOS 10.15.3 (19D76) and Sublime Text 3211
I had the same problem on Windows 2016 - flow.exe used over 4GB of memory! I uninstalled the JavaScript Enhancements package.