Commit 36059d8
committed
nbagg: Don't send events if manager is disconnected.
This occurs, e.g., when saving figures, as one of the first things
`print_figure` does is to remove the figure manager. This does mean that
nbagg won't be able to set the wait cursor when saving a file, but
before 0944dcb that was not being done,
and after, saving was broken, so there's no net loss.
Fixes #16721.1 parent a00fdf1 commit 36059d8
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
0 commit comments