Closed jeehoonkang closed 5 years ago
Guard::defer_destroy
(이 leak 안고쳐도 당장 실험하는데는 큰 문제 없음)
fn unprotected() -> &Guard
fn leaking() -> &Guard
Guard::defer_destroy
에서, unprotected guard면 바로 drop해야 함(이 leak 안고쳐도 당장 실험하는데는 큰 문제 없음)