From 26a49486423abd14c02aa178354b39eb06f61297 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sun, 15 Jun 2014 16:36:35 +0200 Subject: [PATCH] NasalSys: process nasal::Ghost deletion queue. --- src/Scripting/NasalSys.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index cc56043d5..7a1f9fe63 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -926,6 +926,9 @@ void FGNasalSys::update(double) _unloadList.pop()->unload(); } + // Destroy all queued ghosts + nasal::ghostProcessDestroyList(); + // The global context is a legacy thing. We use dynamically // created contexts for naCall() now, so that we can call them // recursively. But there are still spots that want to use it for -- 2.39.5