Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I'v created a windows service with VB.NET.

This service includes a timer that preforms certain actions at every timer tick.

 

Does anyone know why sometime when I try to stop the service, it gets stuck on StopPending status and doen't stop.

 

I'v tried to release all the resources the service holds.

Perhaps I'm doing it wrong...

 

Any one??? please?!?!

 

Thanks,

  • 3 weeks later...
Posted
I have has a simmilar problem when using threads within services, if your using threads you should explicitly stop them with the service stop method.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...