no dbg
This commit is contained in:
1 parent
999954cc8d
commit
013cbff40f
2 files changed
+3
-6
No files matched your search
+1
-5
@@ -7,6 +7,7 @@ if "KIVY_AUDIO" not in os.environ:
|
||||
os.environ["KIVY_AUDIO"] = "sdl2" # some backends hard crash / this seems to be most stable
|
||||
|
||||
import kivy
|
||||
|
||||
kivy.require("2.0.0")
|
||||
|
||||
# next, icon
|
||||
@@ -707,11 +708,6 @@ def run_app():
|
||||
print(f"Exception {inst.__class__}: {inst.args}\n{trace}")
|
||||
return ExceptionManager.PASS
|
||||
|
||||
import yappi
|
||||
|
||||
yappi.set_clock_type("cpu")
|
||||
yappi.start()
|
||||
|
||||
ExceptionManager.add_handler(CrashHandler())
|
||||
app = KaTrainApp()
|
||||
signal.signal(signal.SIGINT, app.signal_handler)
|
||||
|
||||
Reference in new issue
Block a user