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
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