Implement dieTMBeforeCommit
Merge branch 'master' of https://github.com/lingeast/dstd2