Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-22-2009, 05:08 AM   #2 (permalink)
vakio
Registered Member
 
Join Date: Dec 2009
Location: Stockholm
Age: 26
Posts: 4
vakio is on a distinguished road
Default

Yeah it's a bug. I had the same problem. It turns out that when you release a web view, that thread (cond_wait) keeps running. If you instantiate a new web view without any preexisting web view using that thread, a new thread is born. But any new webviews you create after the first will use the same thread if that first one is still using it. (The thread starts in loadRequest: ) I solved this problem by keeping all webviews in an array that never gets released until the program terminates. You could probably have a dummy webview instead and load a request at program start, keep that dummy in memory, and release all the other webviews normally.
vakio is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,418
Threads: 94,016
Posts: 402,536
Top Poster: BrianSlick (7,978)
Welcome to our newest member, deepobjectsol
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.