Skip to content

Commit af19611

Browse files
committed
Add missed inline
1 parent 1e6e6d7 commit af19611

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/driver/mobile/driver.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ func (d *driver) DoFromGoroutine(fn func(), wait bool) {
9797
}
9898

9999
if wait {
100-
async.EnsureNotMain(func() {
101-
caller()
102-
})
100+
async.EnsureNotMain(caller)
103101
} else {
104102
caller()
105103
}

0 commit comments

Comments
 (0)