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 7728313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:41:09+00:00 2026-06-01T05:41:09+00:00

In our application, we are having various windows which contain grid and their respective

  • 0

In our application, we are having various windows which contain grid and their respective stores. General code structure of a window we have is as following:

function showWin(){
    var storeVar    =   //code for store
    var gridVar     =   //code for grid with store as storeVar
    var winVar      =   //code for window having gridVar as item
    winVar.show();
}

This showWin() function is being called say on a button click which displays the window.

Now when this window is closed then it is destroyed along with its child item grid. But does this also destroy the store associated with the grid? I guess not.

Thus, if storeVar is not destroyed on closing of window (more precisely on destruction of grid) then should this be forcefully removed in order to reduce the extra baggage (as a new copy gets created everytime the function is called) from the memory? If yes, how?

Thanks for any help in advance.

PS: We are using ExtJs ver 4.0.7

  • 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-06-01T05:41:10+00:00Added an answer on June 1, 2026 at 5:41 am

    Asked the same question in sencha forum and as per the answer received there, I guess that the store doesn’t need to be destroyed forcefully as the garbage collector would itself take care of it. More here.

    Updating the things here too, hoping it helps someone else looking for the same.

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

Sidebar

Related Questions

Our application downloads data from the internet using RSS but is having connection problems
We keep having some customers getting a warning from AVG Antivirus about our application.
In our e-commerce application, we have different kinds of products having different kinds of
Our application has started having problems with SQL Server 2005 queries getting blocked. Is
Our application uses an animation to fade out a message window when it's closed.
We are constantly having problem with our application being broken due to the Unity
We are implementing IoC/DI in our application using NInject framework. We are having internal
We are having a performance problem in our application - particularly when the browser
We're having trouble migrating our ASP.NET applications to Windows Server 2008 R2 x64 and
We having been using multiple webservers for our cakephp application, problem is there are

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.