Changeset - 0dacbba70d06
[Not reviewed]
Drew Perttula - 12 years ago 2013-06-10 00:09:17
drewp@bigasterisk.com
remove some broken profiler attempts
Ignore-this: 3d50124a16807ee922e85911d510ce58
1 file changed with 5 insertions and 4 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -22,7 +22,7 @@ from rdflib import URIRef, Literal, RDF,
 
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 @@ class Main(object):
 
        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 @@ def main():
 

	
 
    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()
 

	
0 comments (0 inline, 0 general)