From 4ad741d26d382d20b66c86c1101e682af821a19f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 28 Oct 2016 17:43:59 +0200 Subject: [PATCH] Simplify shutdown in app.py --- qutebrowser/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index cdce0be6d..73485a634 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -646,10 +646,7 @@ class Quitter: session_manager.save(sessions.default, last_window=last_window, load_next_time=True) - deferrer = False if prompt.prompt_queue.shutdown(): - deferrer = True - if deferrer: # If shutdown was called while we were asking a question, we're in # a still sub-eventloop (which gets quit now) and not in the main # one.