{"action":"closed","issue":{"url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/45","labels_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/45/comments","events_url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/issues/45/events","html_url":"https://github.com/jupyter-incubator/declarativewidgets/issues/45","id":112225409,"number":45,"title":"Sync messages fire after widgets are detached","user":{"login":"wellecks","id":680489,"avatar_url":"https://avatars.githubusercontent.com/u/680489?v=3","gravatar_id":"","url":"https://api.github.com/users/wellecks","html_url":"https://github.com/wellecks","followers_url":"https://api.github.com/users/wellecks/followers","following_url":"https://api.github.com/users/wellecks/following{/other_user}","gists_url":"https://api.github.com/users/wellecks/gists{/gist_id}","starred_url":"https://api.github.com/users/wellecks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellecks/subscriptions","organizations_url":"https://api.github.com/users/wellecks/orgs","repos_url":"https://api.github.com/users/wellecks/repos","events_url":"https://api.github.com/users/wellecks/events{/privacy}","received_events_url":"https://api.github.com/users/wellecks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jupyter-incubator/declarativewidgets/labels/in%20progress","name":"in progress","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T20:24:37Z","updated_at":"2015-10-20T20:34:17Z","closed_at":"2015-10-20T20:34:17Z","body":"Widgets that use `auto` fire `sync` messages after each code execution completes. However, the callback used to fire these messages isn't removed when the widget is detached, resulting in extra `sync` messages.\r\n\r\nE.g. re-run a cell that creates an `urth-core-function` with `auto`. After any further cell executions, two `sync` messages will be sent even though only one `urth-core-function` is attached."}}