kxsmb icon indicating copy to clipboard operation
kxsmb copied to clipboard

KxSMBItemFile::close crash.

Open solidusex opened this issue 10 years ago • 0 comments

@implementation KxSMBItemFile {

  • (void) close { if (_impl) {

    KxSMBFileImpl *p = _impl;
    _impl = nil;
    
    KxSMBProvider *provider = [KxSMBProvider sharedSmbProvider];
    [provider dispatchAsync:^{ [p closeFile]; }];         
    

    } }

...

Excuse me, can you explain here, why has an async call to close it? May crash in some case.

solidusex avatar Nov 12 '15 11:11 solidusex