Hey John,

2011/3/16 John Robson <[email protected]>:
>> Do you also delete the Wt::Dbo::backend::Postgres object when your Wt
>> session exits?
>
> No, where I use this? in the class destructor?  How?

See examples/blog/view/BlogView.[hC] and examples/blog/BlogSession.[hC]

You should reimplement the destructor of a widget or the application,
or embed the connection and session objects directly in these classes.

Regards,
koen

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to