Ticket #2051 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Measure leaks file descriptors

Reported by: lmacken Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar Version: Git as of bugdate
Severity: Unspecified Keywords: patch
Cc: lmacken@… Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

When saving screenshots, Measure creates a temporary directory and removes it when it is done, but does not close the file descriptor.

Since we're not dealing with 'file' objects directly, we can't rely on the garbage collector to clean up after us.

Attachments

Change History

Changed 3 years ago by lmacken

  • cc lmacken@… added

Changed 3 years ago by walter

  • status changed from new to closed
  • resolution set to fixed

Added to and tested with Measure-30 (See #1070)

Note: See TracTickets for help on using tickets.