mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
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
This commit is contained in:
parent
b15b503d49
commit
746b114223
|
@ -278,6 +278,14 @@ CLASS zcl_abapgit_services_abapgit IMPLEMENTATION.
|
|||
WITH KEY name = 'p_package_name'.
|
||||
IF sy-subrc = 0.
|
||||
rv_package = <ls_field>-value.
|
||||
|
||||
" We want to open the repo just once. Therefore we delete the parameters
|
||||
" and initialize the ADT context.
|
||||
CLEAR <lv_parameters>.
|
||||
CALL METHOD ('CL_ADT_GUI_INTEGRATION_CONTEXT')=>initialize_instance
|
||||
EXPORTING
|
||||
context_info = <ls_context>.
|
||||
|
||||
ENDIF.
|
||||
|
||||
CATCH cx_root.
|
||||
|
|
Loading…
Reference in New Issue
Block a user