disposed property

bool disposed
getter/setter pair

Whether the Player has been disposed. This is used to prevent accessing dangling ctx after dispose.

Implementation

bool disposed = false;