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

open discussion - m2kplugin: Close all libm2k contexts when disconnecting the M2K from Scopy. #1553

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Feb 23, 2024

  1. m2kplugin: Close all libm2k contexts when disconnecting the M2K from …

    …Scopy.
    
    This change is needed for proper compatibility with libm2k v0.8.0 which
    introduced the concept of reference count for all open contexts together
    with handling context ownership (iio_context created outside libm2k or by
    libm2k). For libm2k to cleanup all the context refs, every m2kOpen call
    should be matched by a closeContext call.
    
    Signed-off-by: AlexandraTrifan <[email protected]>
    AlexandraTrifan committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    4833729 View commit details
    Browse the repository at this point in the history