Skip to content

Commit 88c8cd8

Browse files
authored
Update gdlgstream.hpp closing #1835
1 parent 21fb18e commit 88c8cd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gdlgstream.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ class GDLGStream: public plstream
224224
virtual ~GDLGStream()
225225
{
226226
if (GDL_DEBUG_PLSTREAM) printf(" retire GDLGstream:pls=%p \n", (void *)pls);
227-
plend1(); //strange. Was expected to solve #1342 but 1) I cannot reproduce now and 2) this crashes GDL in the following manner:
227+
// plend1(); //NEVER use plend here. Causes #1835
228+
// Above was expected to solve #1342 but 1) I cannot reproduce now and 2) this crashes GDL in the following manner:
228229
// plot,dist(10) ; using X11 not wxWidgets
229230
// set_plot,'z'
230231
// plot,dist(10)

0 commit comments

Comments
 (0)