}
}
- if (rose->flushCombProgramOffset && !told_to_stop_matching(scratch)) {
- if (roseRunFlushCombProgram(rose, scratch, ~0ULL) == MO_HALT_MATCHING) {
- scratch->core_info.status |= STATUS_TERMINATED;
- }
- }
-
setStreamStatus(state, scratch->core_info.status);
if (likely(!can_stop_matching(scratch))) {
unmarkScratchInUse(scratch);
}
+ if (id->rose->flushCombProgramOffset && !told_to_stop_matching(scratch)) {
+ if (roseRunFlushCombProgram(id->rose, scratch, ~0ULL)
+ == MO_HALT_MATCHING) {
+ scratch->core_info.status |= STATUS_TERMINATED;
+ }
+ }
+
hs_stream_free(id);
return HS_SUCCESS;
unmarkScratchInUse(scratch);
}
+ if (id->rose->flushCombProgramOffset && !told_to_stop_matching(scratch)) {
+ if (roseRunFlushCombProgram(id->rose, scratch, ~0ULL)
+ == MO_HALT_MATCHING) {
+ scratch->core_info.status |= STATUS_TERMINATED;
+ }
+ }
+
// history already initialised
init_stream(id, id->rose, 0);