Quitting an application
- From: Sujith <m sujith gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Quitting an application
- Date: Thu, 27 Mar 2008 20:01:40 +0530
I am writing a music library manager and I have a small problem when terminating the application.
On starting the app, I scan a DB and load the tracks into a treeview.
When this is in progress, if the user closes the application, a segfault occurs
because gtk_main_quit() has been called and the scanning function tries to access
data structures that are no more. How do I synchronize between them ?
Any help is appreciated.
] [Thread Prev