Only add the log handler once

This commit is contained in:
Ben Jackson 2018-06-01 19:54:27 +01:00
commit bd4fa964b0
2 changed files with 9 additions and 8 deletions

View file

@ -64,10 +64,10 @@ function! vimspector#internal#job#StartDebugSession( config ) abort
\ 'in_mode': 'raw',
\ 'out_mode': 'raw',
\ 'err_mode': 'raw',
\ 'exit_cb': function( 's:_OnExit' ),
\ 'close_cb': function( 's:_OnClose' ),
\ 'out_cb': function( 's:_OnServerData' ),
\ 'err_cb': function( 's:_OnServerError' ),
\ 'exit_cb': funcref( 's:_OnExit' ),
\ 'close_cb': funcref( 's:_OnClose' ),
\ 'out_cb': funcref( 's:_OnServerData' ),
\ 'err_cb': funcref( 's:_OnServerError' ),
\ 'stoponexit': 'term',
\ }
\ )