Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App stuck at quicktime.QTSession.close



I haven't noticed any ill effects from only using exitMovies.  Not
using it can keep the app from exiting.  But using close always
seems to do bad things.

Laura Ferguson wrote:
>
> In Chris's book this code is already occurring as a shutdownhook.  If
> changed to an invokeLater wouldn't this code occur after shutdown and
> therefore not occur?
>
> So I'm still not convinced either way.  I'm gathering that we have three
> choices:
>
> A) SwingUtilities.invokeLater with a QTSession.close in the event loop?
>
> B) Runtime.getRuntime( ).addShutdownHook(shutdownHook);
>         where the shutdownHook calls QTSession.close or
> QTSession.exitMovies?
>
> C) Do nothing and hope that it all shuts down automatically when the
> application closes.
>
> I read the same jdocs for exitMovies, and I'm not clear on what
> exitMovies really does, can anybody "in the know" clarify the role of
> exitMovies vs. close?  Does exitMovies include the close action?
>
> Lastly, perhaps we don't need close anymore.  How can we evaluate this?
> What would indicate that close was not properly called on Windows or OSX?

---------------------------------------------------------------------
Kevin Weiner    FM Software    610-997-3930    http://www.fmsware.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden
References: 
 >Re: App stuck at quicktime.QTSession.close(QTSession.java:611) (From: Chris Adamson <email@hidden>)
 >App stuck at quicktime.QTSession.close(QTSession.java:611) (From: <email@hidden>)
 >Re: App stuck at quicktime.QTSession.close(QTSession.java:611) (From: Laura Ferguson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.