[GH-ISSUE #369] barriers.exe / barrierc.exe keep reviving until press 'Stop' button #294

Closed
opened 2026-05-05 05:58:24 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @JmirY on GitHub (Jul 24, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/369

Operating Systems

Windows10 v1903

Barrier Version

2.3.0-snapshot-057f39c0

Steps to reproduce bug

  1. Run barrier ( Server / Client doesn't matter)
  2. Close GUI (barrier.exe)
  3. Right click barrier icon in system tray and click 'Quit'
  4. By watching task manager, check barriers.exe or barrierc.exe is still running.
  5. Terminate process.
  6. It revives again! then connection established promptly.

Other info

  • When did the problem start to occur? Always.
  • Is there a way to work around it? Yes, press 'Stop' before quit.
  • Does this bug prevent you from using Barrier entirely? Nope.

I think barriers.exe / barrierc.exe should be terminated right after step 3 that I described above.
Perhaps I misunderstood maintainers' intention of program design.
If so, plz fix me😊

Originally created by @JmirY on GitHub (Jul 24, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/369 ### Operating Systems ### Windows10 v1903 ### Barrier Version ### 2.3.0-snapshot-057f39c0 ### Steps to reproduce bug ### 1. Run barrier ( Server / Client doesn't matter) 2. Close GUI (barrier.exe) 3. Right click barrier icon in system tray and click 'Quit' 4. By watching task manager, check barriers.exe or barrierc.exe is still running. 5. Terminate process. 6. It revives again! then connection established promptly. ### Other info ### * When did the problem start to occur? Always. * Is there a way to work around it? Yes, press 'Stop' before quit. * Does this bug prevent you from using Barrier entirely? Nope. I think barriers.exe / barrierc.exe should be terminated right after step 3 that I described above. Perhaps I misunderstood maintainers' intention of program design. If so, plz fix me😊
gitea-mirror 2026-05-05 05:58:24 -06:00
Author
Owner

@noisyshape commented on GitHub (Jul 24, 2019):

This is the intended behavior. Closing the GUI frontend is not supposed to affect the background processes. The client and server are also supposed to be restarted when they exit for any reason until the user stops it. On Linux and Mac, the GUI frontend does this. On Windows, the daemon process does this and I think the GUI frontend does as well.

<!-- gh-comment-id:514632890 --> @noisyshape commented on GitHub (Jul 24, 2019): This is the intended behavior. Closing the GUI frontend is not supposed to affect the background processes. The client and server are also supposed to be restarted when they exit for any reason until the user stops it. On Linux and Mac, the GUI frontend does this. On Windows, the daemon process does this and I think the GUI frontend does as well.
Author
Owner

@JmirY commented on GitHub (Jul 25, 2019):

Thanks for comment @noisyshape 😁

If user right click system tray icon then hit 'Quit'.
it means that user intends to terminate whole process not only for GUI process.
This pattern of interaction is became solid convention for a long time and
there are lots of programs act this way e.g. Slack, Skype, etc...
So barrier should behave in the manner of this to achieve better user experience.

<!-- gh-comment-id:514860582 --> @JmirY commented on GitHub (Jul 25, 2019): Thanks for comment @noisyshape 😁 If user right click system tray icon then hit 'Quit'. it means that user intends to terminate whole process not only for GUI process. This pattern of interaction is became solid convention for a long time and there are lots of programs act this way e.g. Slack, Skype, etc... So barrier should behave in the manner of this to achieve better user experience.
Author
Owner

@noisyshape commented on GitHub (Jul 25, 2019):

there are lots of programs act this way e.g. Slack, Skype, etc...

Barrier on Windows isn't like those programs. Server and client processes have their own lifecycle and run in the background at boot. It would be strange and unexpected if exiting the frontend stopped those processes.

<!-- gh-comment-id:515245017 --> @noisyshape commented on GitHub (Jul 25, 2019): > there are lots of programs act this way e.g. Slack, Skype, etc... Barrier on Windows isn't like those programs. Server and client processes have their own lifecycle and run in the background at boot. It would be strange and unexpected if exiting the frontend stopped those processes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#294
No description provided.