All pastes #911109 Raw Edit

Unbenannt

public text v1 · immutable
·published 2008-02-20 14:31 UTC
rendered paste body
Index: pgm/utils/benchmark.py
===================================================================
--- pgm/utils/benchmark.py      (revision 1077)
+++ pgm/utils/benchmark.py      (working copy)
@@ -175,8 +175,9 @@
             os.environ['PGM_GL_FPS'] = self._fps
         self.gl.set_canvas(None)
         del self.gl
+
         if self.callback:
-            self.callback(self.result)
+            gobject.timeout_add(3, self.callback, self.result)
 
 
     def start(self):