From a2c1f1793940ff8ab5c16278d1919858b07b165a Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Mon, 24 Sep 2007 01:09:32 +0000 Subject: [PATCH] Version check thread should not attempt to delete itself. (It's not allowed, and detached threads self-delete anyway.) Originally committed to SVN as r1585. --- aegisub/dialog_version_check.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aegisub/dialog_version_check.cpp b/aegisub/dialog_version_check.cpp index 202358460..95e681c9c 100644 --- a/aegisub/dialog_version_check.cpp +++ b/aegisub/dialog_version_check.cpp @@ -163,7 +163,7 @@ wxThread::ExitCode VersionCheckThread::Entry() { paths.Add(_T("http://aegisub.cellosoft.com/latest.txt")); paths.Add(_T("http://www.malakith.net/amz/aegisub/latest.txt")); wxFSFile *fp = NULL; - + // Try each path until it finds one that works for (unsigned int i=0;i