Skip to content

Commit fdf6241

Browse files
author
kalibera
committed
Comment.
git-svn-id: https://svn.r-project.org/R/trunk@88368 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 64342eb commit fdf6241

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/library/grDevices/src/devWindows.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* R : A Computer Language for Statistical Data Analysis
3-
* Copyright (C) 2004--2024 The R Core Team
3+
* Copyright (C) 2004--2025 The R Core Team
44
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
55
* Copyright (C) 1998--2003 Guido Masarotto and Brian Ripley
66
* Copyright (C) 2004 The R Foundation
@@ -2287,6 +2287,9 @@ static void GA_Close(pDevDesc dd)
22872287
*/
22882288
/* I think the concern is rather to run all pending events on the
22892289
device (but also on the console and others) */
2290+
/* doevent() is called here to run the graphapp destructor for the
2291+
window object before freeing the device-specific information; the
2292+
destructor may need the information */
22902293
doevent();
22912294
free(xd);
22922295
dd->deviceSpecific = NULL;

0 commit comments

Comments
 (0)