We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8ab60 commit 950cf77Copy full SHA for 950cf77
cmd/vinegar/bootstrapper_run.go
@@ -69,6 +69,14 @@ func (b *bootstrapper) execute(args ...string) error {
69
b.procs = slices.DeleteFunc(b.procs, func(p *os.Process) bool {
70
return p == cmd.Process
71
})
72
+ if len(b.procs) > 0 {
73
+ return
74
+ }
75
+
76
+ // Workaround any other stray processes holding Wine up
77
+ // such as WebView
78
+ slog.Warn("No more processes left, killing Wineprefix")
79
+ b.pfx.Kill()
80
}()
81
82
gtkutil.IdleAdd(func() {
0 commit comments