[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog plugin/plugin.cpp |
Date: |
Sat, 16 Sep 2006 16:30:44 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/09/16 16:30:44
Modified files:
. : ChangeLog
plugin : plugin.cpp
Log message:
* plugin/plugin.cpp: SIGINT => SIGTERM (fixes bug #17082)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.843&r2=1.844
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.52&r2=1.53
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.843
retrieving revision 1.844
diff -u -b -r1.843 -r1.844
--- ChangeLog 15 Sep 2006 18:01:11 -0000 1.843
+++ ChangeLog 16 Sep 2006 16:30:44 -0000 1.844
@@ -1,3 +1,7 @@
+2006-09-16 Sandro Santilli <address@hidden>
+
+ * plugin/plugin.cpp: SIGINT => SIGTERM (fixes bug #17082)
+
2006-09-15 Vitaly Alexeev <address@hidden>
* libbase/tu_config.h: __declspec(dllimport) temporarily is commented
Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- plugin/plugin.cpp 9 Sep 2006 21:00:57 -0000 1.52
+++ plugin/plugin.cpp 16 Sep 2006 16:30:44 -0000 1.53
@@ -305,11 +305,12 @@
nsPluginInstance::shut()
{
if (_childpid) {
- kill(_childpid, SIGINT);
+ // it seems that waiting after a SIGINT hangs firefox
+ // IFF not run from the console (see bug#17082).
+ // SIGTERM instead solves this problem
+ kill(_childpid, SIGTERM);
int status;
- // it seems that waiting here hangs firefox IFF not run
- // from the console (see bug#17082).
- //waitpid(_childpid, &status, 0);
+ waitpid(_childpid, &status, 0);
dbglogfile << "Child process exited with status " << status << endl;
}