What's the best way to force garbage collection?

Thanks for your reply. Here is the detail.

In my own module, I didn’t create or reference AssetDataSource.

It’s an engine module, which was created in the engine start.

I wan to create my own datasource to customize content browser, so I need to destroy AssetDataSource firstly and immediately, or it will have side effects on my custom data source.

[Image Removed]