C
Craig Thompson
I've attempted to write a windows service that creates one FileSystemWatcher
for each entry in a XML config file. Everything start perfrectly and runs
as I expect for about 5 minutes and then after that the FileSystemWatchers
seem to stop monitoring... My theory is that for some reason the Garbage
Collector is trashing my FileSystemWatchers.
Another clue to my situation is that I just took my service and made it into
a windows form application and it's been running overnight without any
problems. What am I overlooking? Can anyone point me in the right
direction?
Thanks,
Craig
for each entry in a XML config file. Everything start perfrectly and runs
as I expect for about 5 minutes and then after that the FileSystemWatchers
seem to stop monitoring... My theory is that for some reason the Garbage
Collector is trashing my FileSystemWatchers.
Another clue to my situation is that I just took my service and made it into
a windows form application and it's been running overnight without any
problems. What am I overlooking? Can anyone point me in the right
direction?
Thanks,
Craig