JavaScriptEnhancements icon indicating copy to clipboard operation
JavaScriptEnhancements copied to clipboard

Flow keeps running in the background

Open magn0053 opened this issue 5 years ago • 3 comments

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

image

Steps to Reproduce the Problem

  1. Open Sublime Text
  2. Save a JavaScript file
  3. Close Sublime Text
  4. 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

magn0053 avatar Jun 30 '19 18:06 magn0053

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.

markljackson avatar Aug 12 '19 02:08 markljackson

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

raweden avatar Feb 26 '20 13:02 raweden

I had the same problem on Windows 2016 - flow.exe used over 4GB of memory! I uninstalled the JavaScript Enhancements package.

costa100 avatar Oct 22 '20 00:10 costa100