From 67e2860cc3bdda7930c0207abec6525dfcbb7711 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Fri, 27 Dec 2019 20:48:02 -0600 Subject: [PATCH] Disable NasalMainLoopRecipient This is preventing FGFS shutdown on Linux OS. Does not appear that this thread is properly joined and terminated. --- simgear/nasal/cppbind/detail/to_nasal_helper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simgear/nasal/cppbind/detail/to_nasal_helper.cxx b/simgear/nasal/cppbind/detail/to_nasal_helper.cxx index 26d3363f..73ef7e6b 100644 --- a/simgear/nasal/cppbind/detail/to_nasal_helper.cxx +++ b/simgear/nasal/cppbind/detail/to_nasal_helper.cxx @@ -39,7 +39,9 @@ namespace nasal // } // virtual ~NasalMainLoopRecipientSingleton() {} //}; - NasalMainLoopRecipient mrl; + + // HACK: The below prevents shutdown on Linux. Disable until thread shutdown is implemented. + // NasalMainLoopRecipient mrl; //---------------------------------------------------------------------------- naRef to_nasal_helper(naContext c, const std::string& str)