If Scilab is closed when a diagram has been modified, the diagram is also closed
Reported by Claude GOMEZ
-- Bug description --
If Scilab is closed when a diagram has been modified, the diagram is also closed and the modifications are lost.
-- Scilab error message --
-- How to reproduce the bug --