8000 GitHub - nathasm/silentcrash: NSData causes crash when being used in a dispatch queue
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NSData causes crash when being used in a dispatch queue

Notifications You must be signed in to change notification settings

nathasm/silentcrash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

silentcrash

Passing a variable string to NSURL causes crash when being used in a dispatch queue

I've also tried pulling out the RAII and assigned it a local variable which seems to point to the NSURL creation as the culprit.

  url_object = NSURL.URLWithString(google)
  p url_object
  data = NSData.alloc.initWithContentsOfURL(url_object)

This will never pring the url_object when called from within a dispatch queue

About

NSData causes crash when being used in a dispatch queue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0