Release resources
This commit is contained in:
parent
8dfd4075e9
commit
04d471a063
@ -598,6 +598,12 @@ struct rgba_data
|
||||
|
||||
if (run_loop_src != 0)
|
||||
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), run_loop_src, kCFRunLoopDefaultMode);
|
||||
|
||||
|
||||
freerdp_client_stop((rdpContext*) self->rdp_context);
|
||||
|
||||
freerdp_client_context_free((rdpContext*) self->rdp_context);
|
||||
|
||||
}
|
||||
|
||||
/** *********************************************************************
|
||||
|
@ -43,8 +43,6 @@
|
||||
- (void) applicationWillTerminate:(NSNotification*)notification
|
||||
{
|
||||
[mrdpView releaseResources];
|
||||
|
||||
[self ReleaseContext];
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender
|
||||
|
Loading…
Reference in New Issue
Block a user