Commit 89902876 authored by Pavel Vainerman's avatar Pavel Vainerman

fixed bug: http://bugs.etersoft.ru/show_bug.cgi?id=5230

(smemory segfault!)
parent 86b7fd9a
......@@ -280,6 +280,7 @@ class IONotifyController:
void onChangeUndefined( DependsList::iterator it, bool undefined );
UniSetTypes::uniset_mutex sig_mutex;
ChangeSignal changeSignal;
private:
......
......@@ -494,6 +494,7 @@ void IONotifyController::localSaveState( IOController::DIOStateList::iterator& i
try
{
uniset_mutex_lock l(sig_mutex,500);
changeSignal.emit(&sm);
}
catch(...){}
......@@ -557,6 +558,7 @@ void IONotifyController::localSaveValue( IOController::AIOStateList::iterator& l
try
{
uniset_mutex_lock l(sig_mutex,500);
changeSignal.emit(&sm);
}
catch(...){}
......@@ -1201,6 +1203,7 @@ void IONotifyController::localSetState( IOController::DIOStateList::iterator& it
try
{
uniset_mutex_lock l(sig_mutex,500);
changeSignal.emit(&sm);
}
catch(...){}
......@@ -1257,6 +1260,7 @@ void IONotifyController::localSetValue( IOController::AIOStateList::iterator& li
try
{
uniset_mutex_lock l(sig_mutex,500);
changeSignal.emit(&sm);
}
catch(...){}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment