[Mono-osx] SqliteConnection inside NSAutoreleasePool

Juan Roman Escamilla juanroman at unosquare.com
Thu Jul 7 04:40:02 EDT 2011


After too much debugging I have realized that SqliteConnection throws all sort of errors when running within a background thread contained inside an NSAutoreleasePool. At the end it´s always a Null Pointer Exception. I have checked my code and the issue is not within it.

The funny thing is that if I run it with the debugger attached it works like a charm. It is only when running outside of the debugger that it fails.

What is the correct way to spawn a background thread that will leverage Sqlite?

Thanks in advance,

Juan Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110707/666715ba/attachment.html 


More information about the Mono-osx mailing list