debug logging fix

This commit is contained in:
Arvid Norberg 2011-01-16 22:28:31 +00:00
parent 284fc70cd0
commit baffe32942
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ namespace libtorrent
{
mutex::scoped_lock l(file_mutex);
log_file.close();
open_filename.clear();
}
logger(std::string const& logpath, std::string const& filename