ues catch, throw construct in clear_dirty

This commit is contained in:
2023-08-02 16:37:35 +01:00
parent 910c480efd
commit cb09e5ea2d

View File

@@ -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