This commit introduces a deferred call to a state teardown function This is needed to properly flush data to the backing documentbuffer as well as to truncate its underlying store. In doing so we make sure data loss from process termination is minimal to nil. when ever a panic happens or a signal is thrown the call to Teardown() is made Signed-off-by: Ava Affine <ava@sunnypup.io> |
||
|---|---|---|
| .. | ||
| config | ||
| discord | ||
| docbuf | ||
| logging | ||
| state | ||