mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
Initialize signal mask earlier
* java/org/gnu/emacs/EmacsService.java (onCreate, run): Don't initialize signal mask here. * java/org/gnu/emacs/EmacsApplication.java (onCreate): Do it here instead. * src/android.c (JNICALL): Restore previous signal masks.
This commit is contained in:
parent
fa821ed186
commit
797c30b7ab
3 changed files with 30 additions and 26 deletions
|
|
@ -78,7 +78,15 @@ public final class EmacsApplication extends Application
|
|||
public void
|
||||
onCreate ()
|
||||
{
|
||||
/* Block signals which don't interest the current thread and its
|
||||
descendants created by the system. The original signal mask
|
||||
will be restored for the Emacs thread in `initEmacs'. */
|
||||
EmacsNative.setupSystemThread ();
|
||||
|
||||
/* Locate a suitable dump file. */
|
||||
findDumpFile (this);
|
||||
|
||||
/* Start the rest of the application. */
|
||||
super.onCreate ();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue