mirror of
https://github.com/onyx-and-iris/gobs-cli.git
synced 2025-06-09 13:10:35 +01:00
ensure studio mode disabled at end of tests
This commit is contained in:
parent
620adf7e98
commit
8f1d42b677
@ -9,6 +9,7 @@ import (
|
|||||||
"github.com/andreykaipov/goobs/api/requests/filters"
|
"github.com/andreykaipov/goobs/api/requests/filters"
|
||||||
"github.com/andreykaipov/goobs/api/requests/inputs"
|
"github.com/andreykaipov/goobs/api/requests/inputs"
|
||||||
"github.com/andreykaipov/goobs/api/requests/scenes"
|
"github.com/andreykaipov/goobs/api/requests/scenes"
|
||||||
|
"github.com/andreykaipov/goobs/api/requests/ui"
|
||||||
typedefs "github.com/andreykaipov/goobs/api/typedefs"
|
typedefs "github.com/andreykaipov/goobs/api/typedefs"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -130,4 +131,6 @@ func teardown(client *goobs.Client) {
|
|||||||
client.Stream.StopStream()
|
client.Stream.StopStream()
|
||||||
client.Record.StopRecord()
|
client.Record.StopRecord()
|
||||||
client.Outputs.StopReplayBuffer()
|
client.Outputs.StopReplayBuffer()
|
||||||
|
client.Ui.SetStudioModeEnabled(ui.NewSetStudioModeEnabledParams().
|
||||||
|
WithStudioModeEnabled(false))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user