bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com

This commit is contained in:
pnunn%netscape.com 2000-01-13 23:01:11 +00:00
Родитель dd87e0b303
Коммит 3fdce350ca
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -489,6 +489,11 @@ ImageNetContextImpl::Clone()
ilINetContext *cx;
nsCOMPtr<nsILoadGroup> group = do_QueryReferent(mLoadGroup);
//mReconnectArg is ImageGroup. If GetURL is triggered
//by timer for animation, ImageGroup may have been unloaded
//before timer kicks off.
mReconnectCallback=nsnull; mReconnectArg=nsnull;
if (NS_NewImageNetContext(&cx, group, mReconnectCallback, mReconnectArg) == NS_OK)
{
return cx;