Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3439986
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:22:40+00:00 2026-05-18T08:22:40+00:00

Have only one question How to right dealloc object when app goes to background

  • 0

Have only one question “How to right dealloc object when app goes to background ?”. I’m working on some app, everything works great and fine. When i put app to background and then start it again it’s crashes. Not immediately(app stars right where i closed it) , but when i choose some of cells or just scroll tableview for example. So i’m pretty sure that app calls already released data.

here is example of dealloc

- (void)dealloc {


    [anObject release];
    [array release];
    [locationManager release];
    [currentLatitude release];
    [currentLongitude release];
    [filteredListContent release];
    [super dealloc];
}

Any advises?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:22:41+00:00Added an answer on May 18, 2026 at 8:22 am

    I review and re-write my own code. The problem was as i expected in deallocation of memory. I used autorelease where i shouldn’t. It still weird cause app did crash when i open it again.

    Thanks everyone, not you guys who gift to me 2 negs, you are jerks. Don’t be offended,but instead of give some advise you just give ungrounded negs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

just a quick question I have an array with only one object in it
That's the question. Give only one reason you think why have OODB failed or
I have only one class with many instances. Every instance is observer of couple
Are there good reasons why it's a better practice to have only one return
I need to make so that my application can have only one instance running
I made shoot em up like game.But I have only one ememy which fallows
I have two sites with different SITE_IDs, but I want to have only one
Greetings, I would like to ask if creating Singleton to have only one active
I only have one computer (running OS X), and need to test in both
Given that I only have one monitor, what's the best way to debug a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.