Skip to content

Commit 7f7329b

Browse files
committed
block keepalives as well
1 parent 2b2ac47 commit 7f7329b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

frontend/app/view/processviewer/processviewer.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ export class ProcessViewerViewModel implements ViewModel {
194194

195195
async doKeepAlive() {
196196
if (this.disposed) return;
197+
const connStatus = globalStore.get(this.connStatus);
198+
if (!connStatus?.connected) {
199+
return;
200+
}
197201
const conn = globalStore.get(this.connection);
198202
const route = makeConnRoute(conn);
199203
try {

0 commit comments

Comments
 (0)