# HG changeset patch # User Drew Perttula # Date 1370822957 0 # Node ID 0dacbba70d0688e7bda782acfe5164a30d36b3aa # Parent aaf1f182500979a7cee3ad7032b0c1990fcb3dcf remove some broken profiler attempts Ignore-this: 3d50124a16807ee922e85911d510ce58 diff -r aaf1f1825009 -r 0dacbba70d06 bin/curvecalc --- 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()