diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-06 18:58:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-06 18:58:49 +0000 |
commit | 665ab2181d58fa5c82f598c1188408f8711b1f0d (patch) | |
tree | 4c362903878a19ec9aaf32bc92a3516a17564b52 /plugins/Watrack/myshows/myshows.pas | |
parent | 7fc9837e1f9bbd0f0687fea96cda8dfbf4c1932b (diff) |
mir_forkthead doesn't return a closeable thread handle, no need to call CreateThread to close it
git-svn-id: http://svn.miranda-ng.org/main/trunk@3907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/myshows/myshows.pas')
-rw-r--r-- | plugins/Watrack/myshows/myshows.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas index ce07ee0d68..0e6ff07da2 100644 --- a/plugins/Watrack/myshows/myshows.pas +++ b/plugins/Watrack/myshows/myshows.pas @@ -92,7 +92,7 @@ begin if (msh_login <>nil) and (msh_login^ <>#0) and
(msh_password<>nil) and (msh_password^<>#0) then
- CloseHandle(mir_forkthread(@ThScrobble,nil));
+ mir_forkthread(@ThScrobble,nil);
end;
function NewPlStatus(wParam:WPARAM;lParam:LPARAM):int;cdecl;
@@ -145,7 +145,7 @@ begin mi.flags :=CMIM_FLAGS+flag;
CallService(MS_CLIST_MODIFYMENUITEM,hMenuMyShows,tlParam(@mi));
end;
-
+
WAT_EVENT_PLAYERSTATUS: begin
case Integer(loword(lParam)) of
WAT_PLS_NOMUSIC,WAT_PLS_NOTFOUND: begin
@@ -233,7 +233,7 @@ begin sid.szDescription.a:='MyShows';
Skin_AddIcon(@sid);
DestroyIcon(sid.hDefaultIcon);
-
+
FillChar(mi, sizeof(mi), 0);
mi.cbSize :=sizeof(mi);
mi.szPopupName.a:=PluginShort;
|