From cda4b9b4d559aec04e6c1781bab9856726580c70 Mon Sep 17 00:00:00 2001 From: gabi Date: Wed, 29 Oct 2014 00:14:54 +0200 Subject: [PATCH] bugfix --- include/c11log/details/file_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/c11log/details/file_helper.h b/include/c11log/details/file_helper.h index 692fc91a..0d5617f5 100644 --- a/include/c11log/details/file_helper.h +++ b/include/c11log/details/file_helper.h @@ -62,6 +62,7 @@ public: void close() { std::fclose(_fd); + _fd = nullptr; } void write(const log_msg& msg)