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
|
private def self.with_harness
|
||||||
previous = @@current
|
previous = @@current
|
||||||
begin
|
begin
|
||||||
harness = new
|
@@current = harness = new
|
||||||
yield harness
|
yield harness
|
||||||
ensure
|
ensure
|
||||||
@@current = previous
|
@@current = previous
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue