diff bin/curvecalc @ 901:0dacbba70d06 last-2012

remove some broken profiler attempts Ignore-this: 3d50124a16807ee922e85911d510ce58
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 10 Jun 2013 00:09:17 +0000
parents db265102f7b5
children bca2e8d754aa
line wrap: on
line diff
--- a/bin/curvecalc	Sun Jun 09 09:43:35 2013 +0000
+++ b/bin/curvecalc	Mon Jun 10 00:09:17 2013 +0000
@@ -22,7 +22,7 @@
 import logging
 
 from run_local import log
-from light9 import showconfig, prof, networking
+from light9 import showconfig, networking
 from light9.rdfdb import clientsession
 from light9.curvecalc.curve import Curveset
 from light9.curvecalc import curveview 
@@ -239,6 +239,7 @@
         reactor.crash()
         # there's a hang after this, maybe in sem_wait in two
         # threads. I don't know whose they are.
+        # This fix affects profilers who want to write output at the end.
         os.kill(os.getpid(), signal.SIGKILL)
 
     def onCollapseAll(self, *args):
@@ -455,8 +456,8 @@
 
     graph.initiallySynced.addCallback(
         lambda _: launch(args, graph, session, opts, startTime, music))
-    
-    prof.run(reactor.run, profile=False)
+
+    reactor.run()
 
-prof.run(main, profile=False)
+main()