mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix harness not updating current
This commit is contained in:
parent
71d0af7cd5
commit
76dd5603de
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module Spectator
|
|||
private def self.with_harness
|
||||
previous = @@current
|
||||
begin
|
||||
harness = new
|
||||
@@current = harness = new
|
||||
yield harness
|
||||
ensure
|
||||
@@current = previous
|
||||
|
|
Loading…
Reference in a new issue