diff --git a/script.py b/script.py index 25355d8..f923b05 100644 --- a/script.py +++ b/script.py @@ -115,6 +115,7 @@ if __name__ == '__main__': counter = 0 while not quit: + # restart tab to free up resources if counter > 0 and (counter % 90) == 0: pgui.hotkey('ctrl', 'w') pgui.hotkey('ctrl', 't')