private void stopRecording ( String line , DispatchCallback callback ) { try { sqlLine . getRecordOutputFile ( ) . close ( ) ; } catch ( Exception e ) { sqlLine . handleException ( e ) ; } sqlLine . output ( sqlLine . loc ( "record-closed" , sqlLine . getRecordOutputFile ( ) ) ) ; sqlLine . setRecordOutputFile ( null ) ; callback . setToSuccess ( ) ; }
Stop writing output to the record file .