mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 15:00:46 +00:00
ues catch, throw construct in clear_dirty
This commit is contained in:
parent
910c480efd
commit
cb09e5ea2d
@ -68,7 +68,8 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def clear_dirty
|
def clear_dirty
|
||||||
while pdirty? || mdirty?
|
catch(:clear) do
|
||||||
|
loop { throw(:clear) unless pdirty? || mdirty? }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user