Tommi Mäkitalo <tommi@...> writes:
> One problem is, that there is no application startup hook (actually you may 
> trick with the factory ctor but I don't recomended it). You may create a 
> singleton class, which starts the thread when the first request arrives. 
> Notification about stopping tntnet may be received in a dtor of a class in 
> application scope.

Tommi,

I'm trying to do just that
and I'm not seeing the <%application>-scope destructor being called.
The <%thread>-scope destructors are called, but not the <%application>'s.
Should it work?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to