1
0
Fork 0

Fix hang in Nasal->C++->Nasal calls

https://bugs.debian.org/750939
http://sourceforge.net/p/flightgear/mailman/message/32969200/
This commit is contained in:
Rebecca N. Palmer 2015-01-18 22:23:21 +00:00
parent 9f0eceae6e
commit 193f2a3fbc

View file

@ -919,7 +919,7 @@ naRef FGNasalSys::wrappedPropsNode(SGPropertyNode* aProps)
naRef args[1]; naRef args[1];
args[0] = propNodeGhost(aProps); args[0] = propNodeGhost(aProps);
naContext ctx = naNewContext(); naContext ctx = naNewContext();
naRef wrapped = naCall(ctx, _wrappedNodeFunc, 1, args, naNil(), naNil()); naRef wrapped = naCallMethodCtx(ctx, _wrappedNodeFunc, naNil(), 1, args, naNil());
naFreeContext(ctx); naFreeContext(ctx);
return wrapped; return wrapped;
} }