com gtk/php-gtk: Exception is not thrown when thrown in a callback.: test/bug_callbackexception.php
[email protected] (David Soria Parra) Wed, 15 Mar 2006 19:31:33 +0000
| Newsgroups | php.gtk.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 02e424d349ab614625ba074fed5487ed25b650d9 Author: Christian Weiske <[email protected]> Wed, 15 Mar 2006 19:31:33 +0000 Parents: 5f655ea1952be781861cafbb5815c87b44795b25 Branches: master Link: http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=02e424d349ab614625ba074fed5487ed25b650d9 Log: Exception is not thrown when thrown in a callback. Changed paths: A test/bug_callbackexception.php Diff: 02e424d349ab614625ba074fed5487ed25b650d9 diff --git a/test/bug_callbackexception.php b/test/bug_callbackexception.php new file mode 100644 index 0000000..d9f12d6 --- /dev/null +++ b/test/bug_callbackexception.php @@ -0,0 +1,10 @@ +<?php + +function cb() +{ + throw new Exception('Will not get displayed anywhere'); +} + +Gtk::idle_add('cb'); +Gtk::main(); +?> \ No newline at end of file