mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1412befe1b | ||
|
|
e6e88074ea | ||
|
|
2388f2471b | ||
|
|
2c6c223cb0 | ||
|
|
f16738ffd6 | ||
|
|
f2dc4ddd30 | ||
|
|
322b5d59f0 | ||
|
|
06d356e48f | ||
|
|
8db55c451c | ||
|
|
768e6291b3 | ||
|
|
2cdb7c5b13 |
+8
-1
@@ -128,6 +128,7 @@ bool bootstrap()
|
||||
}
|
||||
|
||||
thread_local LPTOP_LEVEL_EXCEPTION_FILTER prevUnhandledExceptionFilter = nullptr;
|
||||
thread_local std::terminate_handler prevTerminateHandler = nullptr;
|
||||
|
||||
LONG WINAPI MyUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *exceptionPtrs)
|
||||
{
|
||||
@@ -158,12 +159,18 @@ void terminateHandler() noexcept
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
if (prevTerminateHandler) {
|
||||
prevTerminateHandler();
|
||||
} else {
|
||||
std::abort();
|
||||
}
|
||||
}
|
||||
|
||||
void setUnhandledExceptionHandler()
|
||||
{
|
||||
prevUnhandledExceptionFilter = SetUnhandledExceptionFilter(MyUnhandledExceptionFilter);
|
||||
std::set_terminate(terminateHandler);
|
||||
prevTerminateHandler = std::set_terminate(terminateHandler);
|
||||
}
|
||||
|
||||
// Parses the first parseArgCount arguments of the current process command line and returns
|
||||
|
||||
@@ -65,7 +65,7 @@ private:
|
||||
OrganizerCore *m_Proxied;
|
||||
PluginContainer *m_PluginContainer;
|
||||
|
||||
const QString &m_PluginName;
|
||||
QString m_PluginName;
|
||||
|
||||
};
|
||||
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
// If VS_FF_PRERELEASE is not set, MO labels the build as a release and uses VER_FILEVERSION to determine version number.
|
||||
// Otherwise, if letters are used in VER_FILEVERSION_STR, uses the full MOBase::VersionInfo parser
|
||||
// Otherwise, uses the numbers from VER_FILEVERSION and sets the release type as pre-alpha
|
||||
#define VER_FILEVERSION 2,3,1
|
||||
#define VER_FILEVERSION_STR "2.3.1\0"
|
||||
#define VER_FILEVERSION 2,3,2
|
||||
#define VER_FILEVERSION_STR "2.3.2\0"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION VER_FILEVERSION
|
||||
|
||||
Reference in New Issue
Block a user