diff --git a/dm/src/display_manager.cpp b/dm/src/display_manager.cpp index 93147509656ba111fd3e321508f4400396d84d77..1adcbc1fb00745fea423fdcf83f9305fccf29826 100644 --- a/dm/src/display_manager.cpp +++ b/dm/src/display_manager.cpp @@ -1299,6 +1299,7 @@ void DisplayManager::Impl::OnRemoteDied() powerEventListenerAgent_ = nullptr; screenshotListenerAgent_ = nullptr; privateWindowListenerAgent_ = nullptr; + foldStatusListenerAgent_ = nullptr; } void DisplayManager::OnRemoteDied()