Skip to content

Commit 26a0001

Browse files
committed
feat(app): forcefully terminate server on wine debugger
1 parent d6a43db commit 26a0001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/vinegar/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (a *app) Write(b []byte) (int, error) {
173173

174174
if strings.Contains(line, "starting debugger") && !a.cfg.Debug {
175175
gtkutil.IdleAdd(func() {
176-
a.pfx.Kill()
176+
a.pfx.Server(wine.ServerKill, "9")
177177
a.showError(errors.New(
178178
"Wine unexpectedly crashed, please try again or delete all data!",
179179
))

0 commit comments

Comments
 (0)