[Kde-bindings] KDE/kdebindings/ruby/qtruby
Sebastian Sauer
mail at dipe.org
Tue Apr 22 19:55:22 UTC 2008
SVN commit 799898 by sebsauer:
Fix reported crash on shutdown if QtRuby is used embedded.
Let's return a Qnil if the global pointer_map was destroyed already.
CCMAIL: kde-bindings at kde.org
M +4 -1 ChangeLog
M +1 -1 src/Qt.cpp
--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #799897:799898
@@ -1,3 +1,7 @@
+2008-04-22 Sebastian Sauer <mail at dipe.org>
+
+ * Fix reported crash on shutdown if QtRuby is used embedded.
+
2008-04-14 Richard Dale <richard.j.dale at gmail.com>
* Special case the KDE::DateTime and KDE::TimeZone classes so that
@@ -130,7 +134,6 @@
* Thanks to Sylvain Sauvage for reporting the problem on the Korundum
help forum
-2007-11-21 Sebastian Sauer <mail at dipe.org>
* Fixed crash on shutdown of Ruby cause of a partly destroyed
pointer_map QHash.
--- trunk/KDE/kdebindings/ruby/qtruby/src/Qt.cpp #799897:799898
@@ -229,7 +229,7 @@
}
VALUE getPointerObject(void *ptr) {
- if (!pointer_map()->contains(ptr)) {
+ if (!pointer_map() || !pointer_map()->contains(ptr)) {
if (do_debug & qtdb_gc) {
qWarning("getPointerObject %p -> nil", ptr);
}
More information about the Kde-bindings
mailing list