Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv30313

Modified Files:
        Project.cpp 
Log Message:
Fix crash at shutdown due to new common progress dialog.


Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -d -r1.276 -r1.277
--- Project.cpp 7 Sep 2006 05:27:10 -0000       1.276
+++ Project.cpp 8 Sep 2006 22:55:59 -0000       1.277
@@ -1355,7 +1355,10 @@
 void AudacityProject::OnActivate(wxActivateEvent & event)
 {
    mActive = event.GetActive();
-   if (mActive) {
+
+   // LLL:  Activate events can fire during deleting, so
+   //       protect against it.
+   if (mActive && !mIsDeleting) {
       SetActiveProject(this);
 
       // Under Windows, focus can be "lost" when returning to 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to