We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a776dc5 commit 711b1afCopy full SHA for 711b1af
shiny/express/_run.py
@@ -99,6 +99,11 @@ def set_result(x: object):
99
var_context,
100
)
101
102
+ # When we called the function to get the top level recall context manager, we didn't
103
+ # store the result in a variable and re-use that variable here. That is intentional,
104
+ # because during the evaluation of the app code,
105
+ # replace_top_level_recall_context_manager() may have been called, which swaps
106
+ # out the context manager, and it's the new one that we need to exit here.
107
get_top_level_recall_context_manager().__exit__(None, None, None)
108
109
# If we're running as an Express app but there's also a top-level item named app
0 commit comments