Skip to content

Dealloc takes places too early [iOS] #213

@mememto

Description

@mememto

Hi to everyone and thanks in advance. I have a new problem. Whenever i pop the viewcontroller where G3MWidget_iOS is placed, i get the following Log message after dealloc takes place:

Warning: WARNING: The TexturesHandler is destroyed, but the inner textures were not released.

Sometimes, if i pop the viewcontroller before all tiles are loaded in the current visible window an exception (EXC_BAD_ACCESS) is thrown in Dowloader_IOS.mm line 122:

void Downloader_iOS::removeDownloadingHandlerForNSURL(const NSURL* url) {
[_lock lock];
[_downloadingHandlers removeObjectForKey:url];
[_lock unlock];
}

It seems that _lock._priv is NULL already.

So, I think that i'm not unloading all the stuff needed, or i'm not telling the SDK to stop download images. Any suggestion? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions