dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
67 stars 25 forks source link

media file is not closed in Connect.create() #29

Closed stevensultana closed 2 years ago

stevensultana commented 2 years ago

The media vsdx file is open with the Media() call, but never closed in the create() function. This leaves the unzipped vsdx file lying about, and possibly causes some issues if create() is called multiple times.

I think it's only a matter of calling media._media_vsdx.close_vsdx()