Skip to content

Commit

Permalink
check for abortRequested in infinte loop
Browse files Browse the repository at this point in the history
  • Loading branch information
lusum committed Jan 31, 2021
1 parent 06bae4c commit da601aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lib/servers_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def modifyServer():
if i == False:
return
while True:
if xbmc.Monitor().abortRequested():
return
key = showServerData(serverData["servers"][i])
if key == False:
break
Expand Down

0 comments on commit da601aa

Please sign in to comment.