I am getting a rest context in my game mode that should be cleaned up after it ends. On dedicated servers when they get killed that is not a problem but for people who use it in single-player/game host and return back to the main menu and go in again etc this *could* lead to many unused contexts leaking memory over time. Probably not much, BUT I would still like to be able to properly dispose of them, for the sake of doing it properly.
Manually calling delete on them seems to crash the game. They are not managed so they do not disappear after the usage scope/holder class dtors.
Please add a way to close and dispose of a rest context. e.g. RestContext::Dispose() or RestApi::DisposeContext(RestContext context).