Changeset 535 for trunk/Cocoa


Ignore:
Timestamp:
06/08/09 05:26:26 (16 years ago)
Author:
Nicholas Riley
Message:

NJRQTMediaPopUpButton.m: Don't crash when sound finishes during processing of new sound.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m

    r533 r535  
    357357- (BOOL)_validateWithPreview:(BOOL)doPreview;
    358358{
     359    // prevent _resetPreview from triggering afterward (crashes)
     360    [[NSNotificationCenter defaultCenter] removeObserver: self
     361                                                    name: QTMovieDidEndNotification
     362                                                  object: [preview movie]];
    359363    [preview pause: self];
    360364    if (selectedAlias == nil) {
Note: See TracChangeset for help on using the changeset viewer.