How do I properly call obs_shutdown() without resulting in a crash? #15
Unanswered
HeedfulCrayon
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Did you try unload in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a script to be able to control OBS via MQTT through Home Assistant. I want to be able to gracefully close OBS Studio when an MQTT message is detected, but when I try to call

obs_shutdown()
I get a crash windowThe crash indicates that the python scripting dll is at fault. Any idea of how I can work around that?
It seems like the
obs_shutdown()
does not initiatescript_unload()
, and if I try to manually call it with removing theobs_frontend_remove_event_callback()
and thetimer_remove()
it crashes as wellBeta Was this translation helpful? Give feedback.
All reactions