Skip to content

Commit

Permalink
#2261 only log the stop message the first time we call stop
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@22389 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 14, 2019
1 parent 2f19297 commit 1091472
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/xpra/server/proxy/proxy_instance_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,10 +563,11 @@ def run_queue(self):

def stop(self, skip_proto=None, *reasons):
log("stop(%s, %s)", skip_proto, reasons)
log.info("stopping proxy instance:")
for x in reasons:
log.info(" %s", x)
self.exit = True
if not self.exit:
log.info("stopping proxy instance pid %i:", os.getpid())
for x in reasons:
log.info(" %s", x)
self.exit = True
try:
self.control_socket.close()
except:
Expand Down

0 comments on commit 1091472

Please sign in to comment.