Skip to content

Commit 4cfba40

Browse files
committed
Fix tab test cleanup shutdown order
1 parent f737afb commit 4cfba40

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

browser/browser.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ func (b *Browser) Context() context.Context {
123123
}
124124

125125
func (b *Browser) Close() {
126-
if b.cancel != nil {
127-
b.cancel()
128-
}
129126
if b.allocCanc != nil {
130127
b.allocCanc()
131128
}
129+
if b.cancel != nil {
130+
b.cancel()
131+
}
132132
}
133133

134134
func (b *Browser) resolveID(id int) (int64, error) {

0 commit comments

Comments
 (0)