remove running reader method

This commit is contained in:
onyx-and-iris 2023-08-11 16:15:27 +01:00
parent 210d13ba1e
commit 48b94a2682

View File

@ -3,8 +3,6 @@ require "yaml"
class Main class Main
attr_reader :running
def initialize(**kwargs) def initialize(**kwargs)
@r_client = OBSWS::Requests::Client.new(**kwargs) @r_client = OBSWS::Requests::Client.new(**kwargs)
@e_client = OBSWS::Events::Client.new(**kwargs) @e_client = OBSWS::Events::Client.new(**kwargs)
@ -15,7 +13,7 @@ class Main
end end
def run def run
sleep(0.1) while running sleep(0.1) while @running
end end
def infostring def infostring