fixed potential pure virtual function call in extensions on shutdown

This commit is contained in:
Arvid Norberg 2009-09-14 02:08:34 +00:00
parent 00f2202bb1
commit 6858a29b83
2 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,9 @@ release 0.14.6
* fixed download piece performance bug in piece picker
* fixed bug in connect candidate counter
* replaces invalid filename characters with .
* added --with-libgeoip option to configure script to allow building and
linking against system wide library
* fixed potential pure virtual function call in extensions on shutdown
release 0.14.5

View File

@ -679,6 +679,10 @@ namespace libtorrent
m_disk_recv_buffer_size = 0;
#ifndef TORRENT_DISABLE_EXTENSIONS
m_extensions.clear();
#endif
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING
if (m_logger)
{