Hi Koen,

Happy new year too :)

Thanks for getting that so quick :)

I fixed my segfault by changing ownership of the dbo::Session from:

class MySession {
  dbo::Session s;
};

class MyApp : public Wt::WApplication {
 MySession s;
};

.. to ..


class MySession : Wt::WObject {
  dbo::Session s;
};

class MyApp : public Wt::WApplication {
 MySession* s;
};

MyApp::MyApp() {
  addChild( new MySession());
}

It seems having it as a straight member variable it was destroyed before
the post objects were cleaned up, but letting WObject take care of the
destruction seems to leave things a bit later and save the day.

Kind Regards,
Matthew Sherborne
On Mon, Jan 2, 2012 at 5:12 AM, Koen Deforche <k...@emweb.be> wrote:

> But as you noted, an error or two slipped in. Latest git should fix this !
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to