if (mPluginTimer != nsnull) { CancelTimer(); }
CancelTimer();
pluginInstanceOwner :: ~pluginInstanceOwner(){  // shut off the timer.  if (mPluginTimer != nsnull) {    CancelTimer();  }  NS_IF_RELEASE(mInstance);  mWindow = nsnull;  mViewer = nsnull;  // clean up plugin native window object  nsCOMPtr<nsIPluginHost> ph = do_GetService(kCPluginManagerCID);  nsCOMPtr<nsPIPluginHost> pph(do_QueryInterface(ph));  if (pph) {    pph->DeletePluginNativeWindow(mPluginWindow);    mPluginWindow = nsnull;  }}