iMediaSandboxing / iMedia

The Karelia iMedia Browser, framework and application for browsing media on Mac OS X
http://www.karelia.com/imedia/
Other
18 stars 12 forks source link

Always call NSAlert on the main thread #21

Closed jjac closed 12 years ago

jjac commented 12 years ago

NSAlert is called on a background thread on drag and drop of an IMBObject when something goes wrong (e.g. denoted resource does not exist).

This causes the tester app to freeze.

mikeabdullah commented 12 years ago

This is specific to the sandboxed code, right?

peterb180369 commented 12 years ago

I guess it is caused by a presentError: that we call if we get a NSError from the XPC service. Need to dig into this. Solution is obviously to dispatch to the main queue before calling presentError:

peterb180369 commented 12 years ago

Should be taken care of...