mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-27 01:01:52 -07: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
593d96e65a
commit
9d7293a9e2
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…
Add table
Add a link
Reference in a new issue