OutSystems / ReactView

ReactView is a framework for building react.js based UIs that can be hosted in Avalonia/WPF applications
Apache License 2.0
32 stars 7 forks source link

Increase stack size in windows OS #192

Closed tbragaf closed 1 month ago

tbragaf commented 1 month ago

Following https://github.com/chromiumembedded/cef/issues/3250 and https://bitbucket.org/chromiumembedded/cef/commits/85c53029bf07, this PR aims at increasing the cef stack size to 8 MiBs. To do so, we use the visual studio tool "editbin".

Similarly to https://github.com/cefsharp/CefSharp/blob/d0486b317967fe4a3eb00e783c26d93d2a00e594/CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.netcore.csproj#L67, we want to run editbin after building to increase the stack size to 8 MiBs.

Differenly from the link above, I tried drying the code a bit and make it more readable.

Please refer to https://github.com/OutSystems/CefGlue/pull/172 and https://github.com/OutSystems/WebView/pull/361 for more details.