• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXObjectStoreCoordinator dispose not releasing database connection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXObjectStoreCoordinator dispose not releasing database connection?


  • Subject: Re: ERXObjectStoreCoordinator dispose not releasing database connection?
  • From: Aaron Rosenzweig <email@hidden>
  • Date: Thu, 13 Mar 2014 09:04:12 -0400

Hi John,

Yes, that’s a known Apple bug. It creates an extra one to read “Database info” and then never releases it. There is a Wonder method to close database connections like that.

ec.dispose();
ERXEOAccessUtilities.closeDatabaseConnections(objectStore);
objectStore.dispose();

Cheers,
Aaron Rosenzweig / Chat 'n Bike
e:  email@hidden  t:  (301) 956-2319
Chat 'n Bike Chat 'n Bike
Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ERXObjectStoreCoordinator dispose not releasing database connection?
      • From: John Pollard <email@hidden>
    • Re: ERXObjectStoreCoordinator dispose not releasing database connection?
      • From: Alexander Spohr <email@hidden>
References: 
 >ERXObjectStoreCoordinator dispose not releasing database connection? (From: John Pollard <email@hidden>)

  • Prev by Date: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Next by Date: Re: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Previous by thread: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Next by thread: Re: ERXObjectStoreCoordinator dispose not releasing database connection?
  • Index(es):
    • Date
    • Thread