Call SessionManager.DeleteSession inside a Service-Call

I am calling

SessionManager.DeleteSession(Session.SessionID,false);

inside a Service-Call (Logout).

My question is: Is it allowed to call it by myself? Because FastMM triggers me a error during GetMem:

FastMM has detected an error during a GetMem operation. FastMM detected that a block has been modified after being freed

If needed, I also could send you the stack trace of FastMM.

I am using “TROInMemorySessionManager”.

you shouldn’t call directly SessionManager.DeleteSession inside Logout.
use DestroySession; instead of.