~ruther/NosSmooth.Local

f89bf7ba7857f9cf592199f23412e2a6ece4385a — Rutherther 2 years ago fc06177
feat(binding): initialize only first time
1 files changed, 5 insertions(+), 0 deletions(-)

M src/Core/NosSmooth.LocalBinding/NosBindingManager.cs
M src/Core/NosSmooth.LocalBinding/NosBindingManager.cs => src/Core/NosSmooth.LocalBinding/NosBindingManager.cs +5 -0
@@ 161,6 161,11 @@ public class NosBindingManager : IDisposable
    /// <returns>A result that may or may not have succeeded.</returns>
    public IResult Initialize()
    {
        if (_networkBinding is not null)
        { // already initialized
            return Result.FromSuccess();
        }

        List<IResult> errorResults = new List<IResult>();
        var browserInitializationResult = _browserManager.Initialize();
        if (!browserInitializationResult.IsSuccess)

Do not follow this link