GithubHelp home page GithubHelp logo

Comments (6)

vdaubry avatar vdaubry commented on July 20, 2024

Here is a sample project that reproduces this crash :

https://github.com/vdaubry/readium-arc

from sdklauncher-ios.

vdaubry avatar vdaubry commented on July 20, 2024

Actually it seems the crash occurs when the RDContainer is released. I managed to avoir the crash by retaining it.

I don't understand why we should retain the container since the SpineItemController already retains the RDPackage

Is that the intended behavior ?

from sdklauncher-ios.

AlanQuatermain avatar AlanQuatermain commented on July 20, 2024

Probably because in the C++ API the Package objects are owned by their respective Containers.

Sent from my iPhone

On 2013-04-26, at 3:49 AM, vdaubry [email protected] wrote:

Actually it seems the crash occurs when the RDContainer is released. I managed to avoir the crash by retaining it.

I don't understand why we should retain the container since the SpineItemController already retains the RDPackage

Is that the intended behavior ?


Reply to this email directly or view it on GitHub.

from sdklauncher-ios.

agilshane avatar agilshane commented on July 20, 2024

Well, the short answer is that the iOS launcher app is not an ARC project. If parts of the launcher app are copied into an ARC-based project, all retain/release logic will need to be reviewed and adapted as necessary.

from sdklauncher-ios.

youboox avatar youboox commented on July 20, 2024

I migrated the project to ARC inb this pull request : #7

from sdklauncher-ios.

rkwright avatar rkwright commented on July 20, 2024

Readium was migrated to ARC long ago. Closing as resolved.

from sdklauncher-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.