Skip to content

Commit

Permalink
Update DeveloperCommands.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LtRipley36706 authored Apr 21, 2024
1 parent 3aab387 commit a6eede9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/ACE.Server/Command/Handlers/DeveloperCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,8 @@ public static void HandleClearPhysicsCaches(Session session, params string[] par
public static void HandleForceGC(Session session, params string[] parameters)
{
GC.Collect();

CommandHandlerHelper.WriteOutputInfo(session, ".NET Garbage Collection forced");
}

[CommandHandler("forcegc2", AccessLevel.Developer, CommandHandlerFlag.None, 0, "Forces .NET Garbage Collection with LOH Compact")]
Expand Down

0 comments on commit a6eede9

Please sign in to comment.