$NetBSD: patch-ah,v 1.1.1.1 2003/06/03 09:17:21 jmmv Exp $ --- src/KnownFileList.cpp.orig 2003-05-25 16:00:07.000000000 +0200 +++ src/KnownFileList.cpp 2003-06-01 01:55:06.000000000 +0200 @@ -34,7 +34,9 @@ } CKnownFileList::~CKnownFileList() { + if (list_mut.TryLock() == wxMUTEX_NO_ERROR) { list_mut.Unlock(); + } Clear(); }