Skip to main content

Messenger.Cleanup() Method

Removes all references to the actions that belong to non-existing recipients.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v23.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public void Cleanup()

Remarks

The Cleanup method execution takes a while. So, to avoid a program freeze, we suggest that you use the Messenger.RequestCleanup method. It will invoke dead reference removal asynchronously when the current application is idle.

See Messenger to learn more.

See Also