Skip to content

[Feature] 이벤트 리스너 삭제 없이 객체만 삭제하면 메모리 누수가 발생함  #32

@Sunmon

Description

@Sunmon

Is your feature request related to a problem? Please describe.
이벤트 리스너 삭제 없이 객체만 삭제하는 경우 메모리 누수가 발생함

Describe the solution you'd like
객체를 삭제할때 (큐빅 삭제 등) 이벤트 리스너도 삭제해주어야 한다.
나중에 리액트 쓸때도 컴포넌트 삭제 전에 리스너 삭제해야 할듯.

+)
큐빅 하나하나에 이벤트 달면 또 메모리 누수 일어나지 않나?
매번 이벤트 추가 삭제해야하지 않나?
이벤트 위임도 살펴볼 것

참고
https://ui.toast.com/weekly-pick/ko_20160826

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions