src/XPMPMultiplayer.cpp
void            XPMPUnregisterPlaneNotifierFunc(XPMPPlaneNotifier_f     inFunc,
                                                void *                  inRefcon)
{
    auto iter = std::find(glob.listObservers.begin(),
                          glob.listObservers.end(),
                          XPMPPlaneNotifierTy (inFunc, inRefcon));
    if (iter != glob.listObservers.cend()) {
        glob.listObservers.erase(iter);
        LOG_MSG(logDEBUG, "%lu observers registered",
                (unsigned long)glob.listObservers.size());
    }
}
/*
 * XPMPUnregisterPlaneCreateDestroyFunc
 *
 * This function canceles a registration for a notifier functionfor obeserving
 * planes being created and destroyed.
 */
XPMPUnregisterPlaneCreateDestroyFunc
This function canceles a registration for a notifier functionfor obeserving
planes being created and destroyed.
XPMPUnregisterPlaneCreateDestroyFunc This function canceles a registration for a notifier functionfor obeserving planes being created and destroyed .
void            XPMPUnregisterPlaneNotifierFunc(XPMPPlaneNotifier_f     inFunc,
                                                void *                  inRefcon)
{
    auto iter = std::find(glob.listObservers.begin(),
                          glob.listObservers.end(),
                          XPMPPlaneNotifierTy (inFunc, inRefcon));
    if (iter != glob.listObservers.cend()) {
        glob.listObservers.erase(iter);
        LOG_MSG(logDEBUG, "%lu observers registered",
                (unsigned long)glob.listObservers.size());
    }
}
void XPMPUnregisterPlaneNotifierFunc ( XPMPPlaneNotifier_f inFunc , void * inRefcon ) { auto iter = std :: find ( glob . listObservers . begin ( ) , glob . listObservers . end ( ) , XPMPPlaneNotifierTy ( inFunc , inRefcon ) ) ; if ( iter != glob . listObservers . cend ( ) ) { glob . listObservers . erase ( iter ) ; LOG_MSG ( logDEBUG , " " , ( unsigned long ) glob . listObservers . size ( ) ) ; } }
XPMPUnregisterPlaneCreateDestroyFunc
 This function canceles a registration for a notifier functionfor obeserving
 planes being created and destroyed.
XPMPUnregisterPlaneCreateDestroyFunc This function canceles a registration for a notifier functionfor obeserving planes being created and destroyed .