1
0
Fork 0

fix for deadlock problem (as suggested by Andy)

This commit is contained in:
mfranz 2006-02-02 18:03:07 +00:00
parent c695e7c788
commit f9bf9fd073

View file

@ -118,7 +118,9 @@ public:
void valueChanged(SGPropertyNode* node) {
_nas->_cmdArg = node;
naContext c = naNewContext();
naModUnlock();
naCall(c, _handler, 0, 0, naNil(), naNil());
naModLock();
if(naGetError(c))
_nas->logError(c);
naFreeContext(c);