From e6307b14940a783be06fd283cb105335086957a8 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 25 Apr 2021 18:57:15 +0100 Subject: [PATCH] Fix dumb inverted logic commit --- src/Model/modelmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/modelmgr.cxx b/src/Model/modelmgr.cxx index 3235f6190..4d59592a9 100644 --- a/src/Model/modelmgr.cxx +++ b/src/Model/modelmgr.cxx @@ -210,7 +210,7 @@ FGModelMgr::unbind () { // work-around for FLIGHTGEAR-37D : crash when quitting during // early startup - if (!_listener) { + if (_listener) { _models->removeChangeListener(_listener.get()); }