Repository navigation
Commit bd7f0f7
authored
ensure mode is always set to INITIAL during startTokenization (#119)
While currently, all branches set a mode, this is both subtle and fragile; if a
branch ends up not setting mode it will never be reset. This means
subsequent calls to start tokenisation can end up with a different
initial mode.
This change simply resets mode to INITIAL on every startTokenization() call,
ensuring that if we ever miss it, it will be reset.1 parent 8f7cfc3 commit bd7f0f7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| |||
0 commit comments