deactivate should not call save (#108)

Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
This commit is contained in:
Leon Mai 2020-01-16 11:24:46 -08:00 committed by Artur Souza
parent df99cc7345
commit 0fed4fe76e
1 changed files with 1 additions and 2 deletions

View File

@ -279,8 +279,7 @@ public abstract class AbstractActor {
return Mono.fromRunnable(() -> this.resetState()) return Mono.fromRunnable(() -> this.resetState())
.then(this.onDeactivate()) .then(this.onDeactivate())
.then(this.doWriteInfo(TRACE_TYPE, this.id.toString(), "Deactivated")) .then(this.doWriteInfo(TRACE_TYPE, this.id.toString(), "Deactivated"));
.then(this.saveState());
} }
/** /**