mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 11:46:56 +02:00
Add custom bugsplat flags
This commit is contained in:
parent
813d5e5ba0
commit
3355019cbe
1 changed files with 4 additions and 2 deletions
|
@ -34,8 +34,10 @@ int main(int argc, const char* argv[]) {
|
|||
disableQtBearerPoll(); // Fixes wifi ping spikes
|
||||
|
||||
#if HAS_BUGSPLAT
|
||||
// BugSplat initialization
|
||||
MiniDmpSender mpSender { "interface_alpha", "Interface", BuildInfo::VERSION.toLatin1().constData() };
|
||||
// Prevent other threads from hijacking the Exception filter, and allocate 4MB up-front that may be useful in
|
||||
// low-memory scenarios.
|
||||
DWORD bugSplatFlags = MDSF_PREVENTHIJACKING | MDSF_USEGUARDMEMORY;
|
||||
MiniDmpSender mpSender { "interface_alpha", "Interface", BuildInfo::VERSION.toLatin1().constData(), nullptr, bugSplatFlags };
|
||||
#endif
|
||||
|
||||
QString applicationName = "High Fidelity Interface - " + qgetenv("USERNAME");
|
||||
|
|
Loading…
Reference in a new issue