From 51f6fd1cf70e06f04ae50795d41ce9703271462c Mon Sep 17 00:00:00 2001 From: dz Date: Sat, 4 Apr 2009 18:02:52 +0000 Subject: Reapply r11241: flush and close log filehandles properly when the log is closed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/logger.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/logger.cpp b/src/logger.cpp index 10b5591e7..05fb801ae 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -362,4 +362,5 @@ void FileWriter::Close() FileWriter::~FileWriter() { + this->Close(); } -- cgit v1.2.3