Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d18e2bb6
Commit
d18e2bb6
authored
Aug 21, 2012
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in
the loop. Fixes: debbugs:12247
parent
79aba012
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/nsterm.m
src/nsterm.m
+4
-0
No files found.
src/ChangeLog
View file @
d18e2bb6
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.
...
...
src/nsterm.m
View file @
d18e2bb6
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment