• Eduardo Sanz García's avatar
    Ignore messages from the sidebar if `AnnotationSync` is destroyed · 9d8c49ff
    Eduardo Sanz García authored
    Implemented an internal flag in the `AnnotationSync` class that keeps
    track of whether destroy has been called. When the `AnnotationSync` is
    destroyed, messages from the sidebar are ignored.
    
    In addition, we have made the bridge handlers to return `undefined` for
    the results because they are not used in the reciprocal bridge channel.
    9d8c49ff
annotation-sync.js 3.92 KB