Tk Source Code

Check-in [d638e7ca]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for 7487adcd
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: d638e7ca3616643e75fdad10bf50f0a544efcda509c6394443517051fb67b6ec
User & Date: kevin_walzer 2022-02-12 16:29:05
References
2023-07-03
02:11 Ticket [bb7f5785] after_idle with root destruction causes crashes on Mac status still Open with 3 other changes artifact: d1981c1b user: chrstphrchvz
2023-04-04
18:55 Ticket [bb7f5785]: 3 changes artifact: b53e85d5 user: chrstphrchvz
00:04 Ticket [ef5d3e29] Crash in Tk when repeatedly showing file dialog using Python's tkinter on macOS status still Closed with 5 other changes artifact: f605314c user: chrstphrchvz
2023-04-03
11:41 Ticket [6c88c527] Aqua : mac_styles crash on menu binding status still Closed with 5 other changes artifact: 86718fb6 user: chrstphrchvz
00:22 Ticket [ef5d3e29] Crash in Tk when repeatedly showing file dialog using Python's tkinter on macOS status still Open with 3 other changes artifact: a1c102ec user: chrstphrchvz
2022-08-29
16:34 Ticket [a0857e7f] App Crashes on macOS Catalina status still Open with 3 other changes artifact: 374e281f user: chrstphrchvz
2022-04-10
20:17 Ticket [7e8d67af] Crash closing modal window inserted by menu command status still Closed with 5 other changes artifact: 65c0bae5 user: chrstphrchvz
Context
2022-02-12
18:53
Fix (hopefully) [1958367]. Patch mentioned in that ticket was only partially applied, so this has more chance to work. check-in: 57db49cf user: jan.nijtmans tags: core-8-6-branch
16:29
Fix for 7487adcd check-in: d638e7ca user: kevin_walzer tags: core-8-6-branch
16:10
Merging Christopher Chavez patches to core-8-6-branch check-in: 39076817 user: kevin_walzer tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXWm.c.

1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168

	if (deadNSWindow == [NSApp keyWindow]) {
	    [NSApp _setKeyWindow:nil];
	    [NSApp _setMainWindow:nil];
	}
	[deadNSWindow close];
	[deadNSWindow release];
	[NSApp _resetAutoreleasePool];

#if DEBUG_ZOMBIES > 1
	fprintf(stderr, "================= Pool dump ===================\n");
	[NSAutoreleasePool showPools];
#endif

    }







<







1154
1155
1156
1157
1158
1159
1160

1161
1162
1163
1164
1165
1166
1167

	if (deadNSWindow == [NSApp keyWindow]) {
	    [NSApp _setKeyWindow:nil];
	    [NSApp _setMainWindow:nil];
	}
	[deadNSWindow close];
	[deadNSWindow release];


#if DEBUG_ZOMBIES > 1
	fprintf(stderr, "================= Pool dump ===================\n");
	[NSAutoreleasePool showPools];
#endif

    }