Skip to main content
A newer version of this page is available. .

Messenger.Cleanup() Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v19.1.dll

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