Skip to content

Commit

Permalink
#3284 copy menu_data _after_ getting the lock
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 25, 2021
1 parent 075e0e4 commit 005711f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpra/server/menu_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def get_menu_data(self, force_reload=False, remove_icons=False, wait=True):
return None
menu_data = self.menu_data
if self.load_lock.acquire(wait):
menu_data = self.menu_data
try:
if not self.menu_data or force_reload:
if POSIX:
Expand Down

0 comments on commit 005711f

Please sign in to comment.