tnt icon indicating copy to clipboard operation
tnt copied to clipboard

Remove __enter__ and __exit__ from MemorySnapshotProfiler

Open daniellepintz opened this issue 2 years ago • 1 comments

Summary: There is no need for MemorySnapshotProfiler to be a context manager since it conflicts with start_step and stop_step

Differential Revision: D51049497

daniellepintz avatar Nov 06 '23 23:11 daniellepintz

This pull request was exported from Phabricator. Differential Revision: D51049497

facebook-github-bot avatar Nov 06 '23 23:11 facebook-github-bot