C#/Lua: await for the frontend to be ready for control before drawing… #19
Annotations
10 warnings
build (FiveM):
ScaleformUI_CSharp/Scaleforms/ScaleformUI/Main.cs#L49
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build (FiveM):
ScaleformUI_CSharp/Scaleforms/ScaleformUI/Main.cs#L114
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/PauseMenu/TabView.cs#L196
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/Elements/Columns/PlayerListColumn.cs#L126
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/Elements/Columns/PlayerListColumn.cs#L182
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/PauseMenu/TabView.cs#L214
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/LobbyMenu/MainView.cs#L502
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/LobbyMenu/MainView.cs#L612
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/Pause Menus/LobbyMenu/MainView.cs#L732
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build (FiveM):
ScaleformUI_CSharp/Menus/UIRadioMenu/UIRadioMenu.cs#L124
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|