Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Automate event handler disconnection #81

@coldfix

Description

@coldfix

When an object reaches its end of use, all its event handlers should be disconnected automatically. A couple of ideas how to achieve this

  • global registry with all event handler connections
  • when connecting a bound method, also keep track of event sources in the event sink object and remove these connections, when either object is invalidated
  • use a different event mechanism. These at least sound interesting (will have to evaluate later):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions