Do not upload minidumps when running unit tests or zone builder.
This commit is contained in:
parent
e18ac7be16
commit
54f21d5a5d
@ -157,6 +157,7 @@ namespace Components
|
|||||||
MinidumpUpload::MinidumpUpload()
|
MinidumpUpload::MinidumpUpload()
|
||||||
{
|
{
|
||||||
#if !defined(DEBUG) || defined(FORCE_MINIDUMP_UPLOAD)
|
#if !defined(DEBUG) || defined(FORCE_MINIDUMP_UPLOAD)
|
||||||
|
if (Loader::PerformingUnitTests() || ZoneBuilder::IsEnabled()) return;
|
||||||
this->uploadThread = std::thread([&]() { this->UploadQueuedMinidumps(); });
|
this->uploadThread = std::thread([&]() { this->UploadQueuedMinidumps(); });
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user