From a8888d40b490664851510e8c6cef19a30d459c9f Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 8 Feb 2012 15:36:25 -0800 Subject: [PATCH] Mixer: Don't segfault during teardown upon WM initiated exit. --- mixer/src/Mixer.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mixer/src/Mixer.C b/mixer/src/Mixer.C index fd7130f..2e86ea3 100644 --- a/mixer/src/Mixer.C +++ b/mixer/src/Mixer.C @@ -361,7 +361,8 @@ void Mixer::remove ( Mixer_Strip *ms ) mixer_strips->remove( ms ); - parent()->redraw(); + if ( parent() ) + parent()->redraw(); } bool