Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
72be2327
Commit
72be2327
authored
Apr 21, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Apr 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Set up and drain autorelease pool in LogErrorv() so it's safe to call…
winemac: Set up and drain autorelease pool in LogErrorv() so it's safe to call from background threads.
parent
fbed1f7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cocoa_app.m
dlls/winemac.drv/cocoa_app.m
+4
-0
No files found.
dlls/winemac.drv/cocoa_app.m
View file @
72be2327
...
...
@@ -1410,9 +1410,13 @@ void LogError(const char* func, NSString* format, ...)
*/
void
LogErrorv
(
const
char
*
func
,
NSString
*
format
,
va_list
args
)
{
NSAutoreleasePool
*
pool
=
[[
NSAutoreleasePool
alloc
]
init
];
NSString
*
message
=
[[
NSString
alloc
]
initWithFormat
:
format
arguments
:
args
];
fprintf
(
stderr
,
"err:%s:%s"
,
func
,
[
message
UTF8String
]);
[
message
release
];
[
pool
release
];
}
/***********************************************************************
...
...
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