NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 39 40 41 42 43 … 93 Next »
Activate seems to be called twice

 
  • 0 Vote(s) - 0 Average
Activate seems to be called twice
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#1
2007-10-05, 07:20 PM
As part of trying to figure out how to make my plug-in start up faster I've added some logging to my Activate method. When I look at the logs I see that when I click on my plug-in the main menu it is activated twice. The first activate is fast but the second one takes a long time to complete, probably because I have kicked off background tasks that are now using up CPU time. My question is, is there a bug that is calling Activate twice?

Jeff
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2007-10-05, 07:50 PM
hmm, right you are. Unfortunately I'm not able to provide the fix as a patch, so you might be best to add some logic in your plugin to accomodate this if you can. I have fixed it for the next release though.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#3
2007-10-05, 07:59 PM
not been impatient but i want to try a fresh install soon is the next release soon within a month or longer ?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2007-10-05, 08:05 PM
I havnt actually started on the next release yet, since I've been out of the country most of the time since the v1.0.12 release.

Based on the normal release cycle, it'll probably be 2 or 3 months until the next release.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#5
2007-10-05, 08:10 PM
yeah as soon as i posted i wondered that
thanks sub
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GetRenderList() always called with "block-extras..." element in renderlist alibert 1 1,674 2012-06-18, 10:24 AM
Last Post: sub
  IScreenPlugin.Activate() being called twice ACTCMS 0 1,372 2011-06-03, 03:16 PM
Last Post: ACTCMS
  Activate "Hidden" menu mvallevand 2 1,648 2011-02-02, 11:24 PM
Last Post: mvallevand
  onKeyDown called on main plugin from Popup whurlston 1 1,412 2008-04-01, 07:59 AM
Last Post: whurlston
  needsRendering() before Activate. pastro 2 1,588 2007-10-21, 07:19 PM
Last Post: pastro
  render only called for mouse and keyboard event rshaw 24 6,814 2006-09-20, 10:45 AM
Last Post: 23skidoo
  deactive() not getting called when leaving plugin via "Videos" "Guide" etc hotkeys reven 2 1,834 2006-08-06, 12:36 AM
Last Post: reven
  IVideoPlugin.Deactivate() not called when video stops Snarky 5 2,480 2006-03-21, 06:48 PM
Last Post: McBainUK
  Turn off MVP - Deactivate() not called bgowland 4 2,083 2006-01-15, 05:20 PM
Last Post: bgowland
  When is a plugin constructor called? bgowland 5 2,113 2005-11-24, 12:58 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode