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:
parent
9f0eceae6e
commit
193f2a3fbc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue