Fix dump when using abapGit for more than 50 navigation steps (#4288)

Reverting back to a proper exit of screens using `LEAVE TO SCREEN` and avoid increasing the size of the callstack. 

Closes #4279 

PS: The crash mentioned in #4027 was prevented by removing the commit hash from the check screen. It works also with `LEAVE TO SCREEN`.
This commit is contained in:
Marc Bernard 2020-12-05 03:48:21 -05:00 committed by GitHub
parent 5ed2f5bb22
commit 21432e8538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ FORM exit RAISING zcx_abapgit_exception.
IF zcl_abapgit_ui_factory=>get_gui( )->back( ) = abap_true. " end of stack
zcl_abapgit_ui_factory=>get_gui( )->free( ). " Graceful shutdown
ELSE.
CALL SELECTION-SCREEN 1001.
LEAVE TO SCREEN 1001.
ENDIF.
ENDCASE.
ENDFORM.