Commit ff52a92
authored
Undelete delete browsers from Invocation cancellation (#16)
<!-- mesa-description-start -->
## TL;DR
Restores the logic to delete browsers when an invocation is cancelled.
## Why we made these changes
This fixes a regression where cancelling an invocation would leave
orphaned browser instances running, consuming unnecessary resources.
This change ensures proper resource cleanup.
## What changed?
- In `cmd/invoke.go`, the invocation cancellation handler now calls
`client.Invocations.DeleteBrowsers` with a 30-second timeout to ensure
associated browsers are properly terminated.
<sup>_Description generated by Mesa. [Update
settings](https://app.mesa.dev/onkernel/settings/pull-requests)_</sup>
<!-- mesa-description-end -->1 parent fa40463 commit ff52a92
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
0 commit comments