mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
Mps br/timing global.c: new diag "globalspreparetodestroy", reports if message queue not empty.
Copied from Perforce Change: 166952 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
aac003454d
commit
cd8f0ed2ad
1 changed files with 3 additions and 0 deletions
|
|
@ -422,6 +422,9 @@ void GlobalsPrepareToDestroy(Globals arenaGlobals)
|
|||
/* is done before destroying the finalization pool as otherwise */
|
||||
/* the message queue would have dangling pointers to messages */
|
||||
/* whose memory has been unmapped. */
|
||||
if(MessagePoll(arena)) {
|
||||
DIAG_SINGLEF(( "GlobalsPrepareToDestroy", "Message queue not empty", NULL ));
|
||||
}
|
||||
MessageEmpty(arena);
|
||||
|
||||
/* throw away the BT used by messages */
|
||||
|
|
|
|||
Loading…
Reference in a new issue