File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export namespace CompileTools {
2525 updateProgress ?: ( message : string ) => void
2626 }
2727
28- export function reset ( ) {
28+ export function reset ( ) {
2929 ileQueue . clear ( ) ;
3030 jobLogOrdinal = 0 ;
3131 }
@@ -159,11 +159,9 @@ export namespace CompileTools {
159159 commandResult . code = 2 ;
160160 callbacks . onStderr ?.( Buffer . from ( `Failed to get spool output: ${ JSON . stringify ( e , undefined , 2 ) } ` ) ) ;
161161 }
162- finally {
163- if ( ! connection . getConfig ( ) . keepActionSpooledFiles ) {
164- await connection . runSQL ( `@DLTSPLF FILE(*SELECT) SELECT(*CURRENT *ALL *ALL ${ connection . splfUserData } )` ) ;
165- }
166- }
162+ }
163+ if ( ! start || ! connection . getConfig ( ) . keepActionSpooledFiles ) {
164+ await connection . runSQL ( `@DLTSPLF FILE(*SELECT) SELECT(*CURRENT *ALL *ALL ${ connection . splfUserData } )` ) ;
167165 }
168166 } ) ;
169167
You can’t perform that action at this time.
0 commit comments