aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index e80d360..f9581ed 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -361,7 +361,7 @@ FluxboxWindow::~FluxboxWindow() {
361 // notify die 361 // notify die
362 m_diesig.notify(); 362 m_diesig.notify();
363 363
364 if (m_client != 0) 364 if (m_client != 0 && !m_screen.isShuttingdown())
365 delete m_client; // this also removes client from our list 365 delete m_client; // this also removes client from our list
366 m_client = 0; 366 m_client = 0;
367 367