Skip to content

Commit

Permalink
Ensure correct Document is set after cleanup (#6988)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Jul 16, 2024
1 parent b632f93 commit 62be0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _cleanup_doc(doc, destroy=True):
pane._documents = {}
pane._internal_callbacks = {}
else:
views[ref] = (pane, root, doc, comm)
views[ref] = (pane, root, vdoc, comm)
state._views = views

# When reusing sessions we must clean up the Panel state but we
Expand Down

0 comments on commit 62be0e5

Please sign in to comment.