From 746b114223a1a418e5e113bb38414919b3f0c66d Mon Sep 17 00:00:00 2001 From: Christian Guenter Date: Mon, 3 Dec 2018 11:36:32 +0100 Subject: [PATCH] Initialize ADT context after start with package - Open abapGit with package from ADT just once - Initialzie ADT context because it is kept in shared memory --- src/ui/zcl_abapgit_services_abapgit.clas.abap | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ui/zcl_abapgit_services_abapgit.clas.abap b/src/ui/zcl_abapgit_services_abapgit.clas.abap index af2e6d503..e70e0b12d 100644 --- a/src/ui/zcl_abapgit_services_abapgit.clas.abap +++ b/src/ui/zcl_abapgit_services_abapgit.clas.abap @@ -278,6 +278,14 @@ CLASS zcl_abapgit_services_abapgit IMPLEMENTATION. WITH KEY name = 'p_package_name'. IF sy-subrc = 0. rv_package = -value. + + " We want to open the repo just once. Therefore we delete the parameters + " and initialize the ADT context. + CLEAR . + CALL METHOD ('CL_ADT_GUI_INTEGRATION_CONTEXT')=>initialize_instance + EXPORTING + context_info = . + ENDIF. CATCH cx_root.