* Get rid of application_terminated checks in methodcall.cpp and make the
commit0f90e47de2c9f64528fe796f5e939796e3255ec9
authorarnorehn <arnorehn@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Tue, 10 Mar 2009 16:34:15 +0000 (10 16:34 +0000)
committerarnorehn <arnorehn@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Tue, 10 Mar 2009 16:34:15 +0000 (10 16:34 +0000)
treeb11058880cf9073ea89bc4be684f85a7af7a43d2
parent554881542de8f88ab576783ec43e1ba3558f1489
* Get rid of application_terminated checks in methodcall.cpp and make the
  application cleanup properly. The problem was WeakReference.IsValid being
  false when the application was in the process of shutting down, even though
  the target object was still there. When shutting down, convert weak refs to
  strong refs and check for objects in the global reference map.
  Only thing that doesn't work correctly is QCoreApplication and subclasses.
  It's expected to be deleted as the last Qt object and a bug in QApplication
  is preventing its deletion in an atexit() function. Work around that by not
  calling it's destructor for now.

CCMAIL: kde-bindings@kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings@937860 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
csharp/qyoto/ChangeLog
csharp/qyoto/core/QCoreApplication.cs
csharp/qyoto/gui/QApplication.cs
csharp/qyoto/src/Qyoto.cs
csharp/qyoto/src/SmokeMarshallers.cs
csharp/qyoto/src/handlers.cpp
csharp/qyoto/src/methodcall.cpp
csharp/qyoto/src/qyoto.cpp
kalyptus/kalyptusCxxToKimono.pm