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

Remove outdated code for common.mode==='subscribe' #296

Open
mcm1957 opened this issue Nov 18, 2024 · 0 comments
Open

Remove outdated code for common.mode==='subscribe' #296

mcm1957 opened this issue Nov 18, 2024 · 0 comments

Comments

@mcm1957
Copy link
Member

mcm1957 commented Nov 18, 2024

common.mode 'subscribe' is no longer supported. So the related code should be removed.

At least this is obsolete - but maybe more locations effected:

    // Stop only if subscribe mode
    //noinspection JSUnresolvedVariable
    if (adapter && adapter.common && adapter.common.mode === 'subscribe') {
        adapter.__stopTimer = setTimeout(() => {
            adapter.__stopTimer = null;
            adapter.stop();
        }, 30000);
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant