Skip to content

Commit 73d5776

Browse files
Iterate through set of apps in extension_manager.any_activity method (#1157)
Fixes #1156
1 parent 2fcd759 commit 73d5776

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jupyter_server/extension/manager.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ async def stop_all_extensions(self):
404404

405405
def any_activity(self):
406406
"""Check for any activity currently happening across all extension applications."""
407-
for _, app in sorted(dict(self.extension_apps).items()):
408-
if app.current_activity():
409-
return True
407+
for _, apps in sorted(dict(self.extension_apps).items()):
408+
for app in apps:
409+
if app.current_activity():
410+
return True

0 commit comments

Comments
 (0)