From 5292ac6bf11c623a1a8efce74eb6859195a40738 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 3 Aug 2023 18:50:25 +0100 Subject: [PATCH] use control flow operator --- lib/voicemeeter/worker.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/voicemeeter/worker.rb b/lib/voicemeeter/worker.rb index 08e4abd..eaf824d 100644 --- a/lib/voicemeeter/worker.rb +++ b/lib/voicemeeter/worker.rb @@ -51,8 +51,7 @@ module Voicemeeter def init_event_threads que = Queue.new - init_worker(que) - init_producer(que) + init_worker(que) and init_producer(que) end def end_event_threads