Commit d18e2bb6 authored by Jan Djärv's avatar Jan Djärv

* nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in

the loop.

Fixes: debbugs:12247
parent 79aba012
2012-08-21 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in
the loop (Bug#12247).
2012-08-21 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h (vcopy): Use memcpy rather than our own loop.
......
......@@ -4600,11 +4600,15 @@ - (void)fd_handler:(id)unused
SELECT_TYPE readfds, writefds, *wfds;
EMACS_TIME timeout, *tmo;
NSAutoreleasePool *pool = nil;
/* NSTRACE (fd_handler); */
for (;;)
{
[pool release];
pool = [[NSAutoreleasePool alloc] init];
if (waiting)
{
SELECT_TYPE fds;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment