Skip to content

Conversation

SylvainCorlay
Copy link
Member

In a notebook, run

from ipywidgets import IntSlider
IntSlider()

then save the notebook and restart the kernel. The red broken link appears in the corner. However, when moving the slider, the back-end still receives messages and complains that "no such comm exists".

With this change, save_changes becomes a no-op in case of a dead comm.

@SylvainCorlay SylvainCorlay added this to the 4.0 milestone Jun 20, 2015
@minrk
Copy link
Contributor

minrk commented Jun 20, 2015

Makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the white space changes. This is the relevant change.

minrk added a commit that referenced this pull request Jun 20, 2015
Save changes should only save if comm is live
@minrk minrk merged commit 68abecb into jupyter-widgets:master Jun 20, 2015
@SylvainCorlay SylvainCorlay deleted the save_change_comm_live branch June 20, 2015 18:40
minrk added a commit to ipython/ipython that referenced this pull request Jun 20, 2015
@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 22, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants