[vwnc] How to do something on image closing?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
J G
Reply | Threaded
Open this post in threaded view
|

[vwnc] How to do something on image closing?

J G
Hi,

I'm SQLite3+BOSS for persistence and want to do some house-keeping on image shutdown event but don't know how to. 
Any suggestions pls? thanks!


Best Regards,

Jim G

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] How to do something on image closing?

Joachim Geidel
Hi Jim,

> I'm SQLite3+BOSS for persistence and want to do some house-keeping on image
> shutdown event but don't know how to.
> Any suggestions pls? thanks!

Have a look at page 9-24 of the Application Developer's Guide of VW 7.6. The
section "Responding to System Events" deals with this. Essentially, you
should create a subclass of Subsystem and implement whatever #setUp and
#tearDown methods you need.

HTH,
Joachim Geidel


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc