mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-09-10 12:58:48 +00:00
add init_event_threads, end_event_threads
to Worker module. run now handles init/end event threads
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user