Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This means that automatic seat deactivation doesn’t work on Windows in most scenarios. The only scenario where seat deactivation works automatically on Windows is when the instance is started from an interactive command prompt/shell and stopped using CTRL+C.

Automatic Seat Deactivation in PM2 for Windows

If deploying an instance in PM2 for Windows, automatic seat deactivation will only work if the process is started with PM2’s --shutdown-with-message option. This option causes PM2 to send an Inter-Process Communication (IPC) message to the process. Profound.js and Profound API will listen for this message and perform automatic seat deactivation before shutting down.

...

If deploying in PM2 on other operating systems, standard shutdown using signals is recommended.

Automatic Seat Deactivation in Visual Studio Code for Windows

Instances started with VS Code’s debugger will NOT perform automatic seat deactivation when shut down using the stop button in the debug toolbar:

...