THttpDispatcher.ClearModules Method
Removes and destroys all registered modules.
Remarks
Be careful when calling it: a server might be running and referencing the existing modules.
Syntax
Unit: Sparkle.HttpServer.Dispatcher
procedure THttpDispatcher.ClearModules;