2000-06-12 11:27:15 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
2002-03-21 17:09:55 +00:00
|
|
|
*
|
2000-06-12 11:27:15 +00:00
|
|
|
* LyX, The Document Processor
|
2002-03-21 17:09:55 +00:00
|
|
|
*
|
2000-06-12 11:27:15 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
2001-05-30 13:53:44 +00:00
|
|
|
* Copyright 1995-2001 The LyX Team.
|
2000-06-12 11:27:15 +00:00
|
|
|
*
|
|
|
|
* ====================================================== */
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "LAssert.h"
|
|
|
|
|
|
|
|
#ifdef ENABLE_ASSERTIONS
|
2001-10-19 15:13:49 +00:00
|
|
|
#include "lyx_main.h"
|
2000-06-12 11:27:15 +00:00
|
|
|
|
2001-10-19 15:13:49 +00:00
|
|
|
void emergencyCleanup() {
|
|
|
|
static bool didCleanup;
|
|
|
|
if (didCleanup)
|
2000-06-12 11:27:15 +00:00
|
|
|
return;
|
|
|
|
|
2001-10-19 15:13:49 +00:00
|
|
|
didCleanup = true;
|
2000-06-12 11:27:15 +00:00
|
|
|
|
2001-10-19 15:13:49 +00:00
|
|
|
LyX::emergencyCleanup();
|
2000-06-12 11:27:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|