AddListener In AudioPluginHost Destructor

Taking a look at the refreshed AudioPluginHost code, why is there a Listener registered to the underlying AudioProcessorGraph when the FilterGraph is destructed?

FilterGraph::~FilterGraph()
{
    graph.addListener (this);
    graph.removeChangeListener (this);
    graph.clear();
}

I’m assuming this is a typo and should be removeListener. Thanks for spotting that!