IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window (#618)

* IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window

* Revert "IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window"

This reverts commit 74d5d07bea748f6405bfb6988a01fab1f605f720.

* Implement suggestion from @hengsin
This commit is contained in:
Carlos Ruiz 2021-03-10 13:09:55 +01:00 committed by GitHub
parent f8f17d5b85
commit c60f420cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class ProcessDialog extends AbstractProcessDialog implements EventListene
super.onPageDetached(page);
try {
SessionManager.getSessionApplication().getKeylistener().removeEventListener(Events.ON_CTRL_KEY, this);
SessionManager.getAppDesktop().unregisterWindow(m_WindowNo);
} catch (Exception e) {}
}