mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Close SVG file when the object gets deallocated.
This commit is contained in:
parent
3a0172888a
commit
83166a7ff3
2 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,7 @@ SVG::Close()
|
|||
{
|
||||
fprintf(this->f, "</svg>\n");
|
||||
fclose(this->f);
|
||||
this->f = NULL;
|
||||
printf("SVG written to %s\n", this->filename.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue