Skip to content

Commit

Permalink
clear to_delete (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnumainville authored May 30, 2024
1 parent 516caf7 commit 500dda7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions streamlit_deephaven/streamlit_deephaven.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def _remove_widgets():
from deephaven_server import Server
for object_id in st.session_state[DH_STATE]['to_delete']:
Server.instance.__globals.pop(object_id, None)
st.session_state[DH_STATE]['to_delete'] = []


def start_server(host: Optional[str] = None, port: Optional[int] = None, jvm_args: Optional[List[str]] = None):
"""
Expand Down

0 comments on commit 500dda7

Please sign in to comment.