Skip to content

LiteFX::App::stopBackend

Stops a backend, if it is currently running.

Synopsis

Declared in <litefx/app.hpp>

template<typename TBackend>
requires meta::implements<TBackend, IBackend>
void stopBackend();

Exceptions

NameThrown on
InvalidArgumentExceptionThrown, if no backend of type TBackend is registered.

Template Parameters

NameDescription
TBackendThe type of the backend to stop.