add init_event_threads, end_event_threads

to Worker module.

run now handles init/end event threads
This commit is contained in:
2023-07-21 14:37:17 +01:00
parent d8ee19e2f8
commit ce8c82a2ca
5 changed files with 14 additions and 12 deletions

View File

@@ -45,10 +45,15 @@ module Voicemeeter
end
end
def end_worker
def init_event_threads
init_worker(@que)
init_producer(@que)
end
def end_event_threads
@running = false
end
module_function :init_worker, :end_worker
module_function :init_event_threads, :end_event_threads
end
end