Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Initialize the bus only if required #587

Merged
merged 1 commit into from Mar 16, 2023
Merged

fix: Initialize the bus only if required #587

merged 1 commit into from Mar 16, 2023

Commits on Mar 8, 2023

  1. fix: Initialize the bus only if required

    Currently the bus is initialized when the file is imported
    and as the bus requires the window to be present it fails for
    e.g. testing without a DOM environment.
    
    To fix this the bus is now initialized on the first usage
    and while the window is not present only a stub is used.
    
    Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
    susnux committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    7fcd3a1 View commit details
    Browse the repository at this point in the history