ageller / Firefly

A WebGL interactive particle viewer
GNU Affero General Public License v3.0
64 stars 13 forks source link

Need working function to quite all servers #182

Open ageller opened 1 week ago

ageller commented 1 week ago

We have quitAllFireflyServers() , but that doesn't seem to work on my end. (Or maybe I'm just not using it right.)

Also, strangely on some computers (including mine) when you run the command process = spawnFireflyServer(port, method = 'flask') It actually creates 2 processes (which doesn't seem to break anything, at least on my end, but seems odd.) This may be something we need/want to investigate and fix.

ageller commented 1 week ago

The commit ce35d5cfbb1a5caa82b920922cb06751252240d5 attempts to fix quitAllFireflyServers (by changing the grep portion of the command -- it seems that was very outdated).

Leaving this open for now in case we want to try to address the second part of the issue above.