Code

r17818@shi: ted | 2008-01-31 09:20:06 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Mon, 4 Feb 2008 17:54:54 +0000 (17:54 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Mon, 4 Feb 2008 17:54:54 +0000 (17:54 +0000)
 Locking on both types of execution

src/extension/effect.cpp

index dbd750ee91d5e471ec6a2dd9dd7dabb6526c2402..76af73ed38e13950e269095beb8589357c1dde17 100644 (file)
@@ -251,7 +251,9 @@ Effect::effect (Inkscape::UI::View::View * doc)
 
 
     ExecutionEnv executionEnv(this, doc, NULL);
+    timer->lock();
     executionEnv.run();
+    timer->unlock();
 
     return;
 }