* 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