Skip to content

Commit f7a5eab

Browse files
committed
Start killing the browser again
1 parent 1e7b2a3 commit f7a5eab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

killbrowser.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ func killBrowserHandler(c *gin.Context) {
2626
}
2727

2828
if data.Action == "kill" || data.Action == "restart" {
29-
// _, err := killBrowser(data.Process)
30-
// if err != nil {
31-
// c.JSON(http.StatusInternalServerError, err.Error())
32-
// }
29+
_, err := killBrowser(data.Process)
30+
if err != nil {
31+
c.JSON(http.StatusInternalServerError, err.Error())
32+
}
3333
}
3434

3535
if data.Action == "restart" {

0 commit comments

Comments
 (0)