| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
>AppleMediaBay's free method calls PMStop. The problem is that PMInit is
>not called in the init method. Instead, it is called in initForPM, which
>in turn is called by the start method. This means that in cases where
>start is never called, PMStop is called without PMInit having ever been
>called. And this is exactly what happens if you subclass AppleMediaBay
>and out-match it. AppleMediaBay gets probed, but not started, and then
>when it is freed PMStop gets called when it shouldn't be.
Shouldn't they simply be calling PMStop in stop instead of free? I thought
the implicit mechanism was that anything you did in start you undo in stop
and anything you do in init you undo in free...
| References: | |
| >RE: Subclassing AppleMediaBay (bug report) (From: Kevin Elliott <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.