fix: donot print log while assert
This commit is contained in:
parent
6f663c3035
commit
ab77b02813
|
@ -801,7 +801,7 @@ bool taosAssert(bool condition, const char *file, int32_t line, const char *form
|
||||||
taosPrintTrace(flags, level, dflag);
|
taosPrintTrace(flags, level, dflag);
|
||||||
|
|
||||||
if (tsAssert) {
|
if (tsAssert) {
|
||||||
taosCloseLog();
|
// taosCloseLog();
|
||||||
taosMsleep(300);
|
taosMsleep(300);
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
Loading…
Reference in New Issue