[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.3/kdelibs/plasma
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-10-15 2:12:58
Message-ID: 1255572778.828288.6741.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1035437 by aseigo:
if the script fails to initialize, then delete the script plugin and clean up after \
ourselves. should help prevent scriptengines from ending up in a bad state BUG:209697
M +5 -0 applet.cpp
--- branches/KDE/4.3/kdelibs/plasma/applet.cpp #1035436:1035437
@@ -201,8 +201,13 @@
if (d->package) {
d->setupScriptSupport();
}
+
if (!d->script->init()) {
setFailedToLaunch(true, i18n("Script initialization failed"));
+ delete d->script;
+ d->script = 0;
+ delete d->package;
+ d->package = 0;
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic