maxisoft / ASFFreeGames

Collect free steam games while asf is running
GNU Affero General Public License v3.0
121 stars 2 forks source link

Fix System.MissingMethodException occurring in trimmed ASF binary #44

Closed maxisoft closed 7 months ago

maxisoft commented 7 months ago

The Lazy constructor that takes a value parameter is trimmed in the official ASF binary, which causes a System.MissingMethodException when the plugin tries to access it. This commit fixes this issue by using a static lambda expression that returns the default cancellation token instead.

This commit closes #43.

Pull request

AndyShade commented 7 months ago

a new ussie 141