Skip to content

Commit a65bf16

Browse files
committed
Update Dispose documentation
1 parent a3e25fa commit a65bf16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ The lifecycle of a state consists of four stages, represented by the following m
409409

410410
4. **Dispose**
411411
- Cleans up resources. If you inherit from `StateBase`, this method does not need implementation.
412+
- **Note:** If you inherit state from StateBase, do not override the Dispose method. Use [Disposables](#disposables)
413+
instead.
412414

413415
#### State Transitions
414416

0 commit comments

Comments
 (0)