From 88c8cd833c0081b225dc2e31413654f0b0cd4a13 Mon Sep 17 00:00:00 2001 From: Giloo <33936193+GillesDuvert@users.noreply.github.com> Date: Thu, 23 May 2024 10:53:20 +0200 Subject: [PATCH] Update gdlgstream.hpp closing #1835 --- src/gdlgstream.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gdlgstream.hpp b/src/gdlgstream.hpp index 19b180174..8acdd0ecd 100644 --- a/src/gdlgstream.hpp +++ b/src/gdlgstream.hpp @@ -224,7 +224,8 @@ class GDLGStream: public plstream virtual ~GDLGStream() { if (GDL_DEBUG_PLSTREAM) printf(" retire GDLGstream:pls=%p \n", (void *)pls); - plend1(); //strange. Was expected to solve #1342 but 1) I cannot reproduce now and 2) this crashes GDL in the following manner: +// plend1(); //NEVER use plend here. Causes #1835 +// Above was expected to solve #1342 but 1) I cannot reproduce now and 2) this crashes GDL in the following manner: // plot,dist(10) ; using X11 not wxWidgets // set_plot,'z' // plot,dist(10)