💄
This commit is contained in:
parent
1d7445c5aa
commit
5741bad918
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct NSInvocationDeleter {
|
|||
typedef scoped_ptr<NSInvocation, NSInvocationDeleter> ScopedNSInvocation;
|
||||
|
||||
// We are passing the NSInvocation as scoped_ptr, because we want to make sure
|
||||
// whether or not the callback is called, the NSInvocation should alwasy be
|
||||
// whether or not the callback is called, the NSInvocation should always be
|
||||
// released, the only way to ensure it is to use scoped_ptr.
|
||||
void CallNSInvocation(ScopedNSInvocation invocation) {
|
||||
[invocation.get() invoke];
|
||||
|
|
Loading…
Reference in a new issue