Event when MediaPortal is closed? (1 Viewer)

Tomato

Portal Member
March 5, 2007
32
2
Hamburg, die schönste Stadt der Welt
Home Country
Germany Germany
You won't get rid of me :)..


I got a simple question: Is there any way to get an Event when MediaPortal is closing?


The reason is: my (icq) plugin has to remain in background which works quite well. I also log some icq-Information to a logfile (using streamwriter). Now I want to close that stream correctly when closing mediaPortal. I already overrided OnPreviousWindow, but that is NOT quite the thing I needed (I dont need to close that stream when leaving my Plugin-WIndow, but when leaving mediaportal)

I also tried adding an event handler on the "unloaded"-event but without any afford. Can anyone help me out?

ANY answer would be helpful; even a "This is impossible" so i at least know I will only lose time searching for the solution.

Thx
 

Users who are viewing this thread

Top Bottom