Hi,
I have a class which unzips an archive into a temporary directory below the
system temp folder. I want to delete this temporary directory in the class's
destructor, but when I call rmdir there, I get an
core.exception.InvalidMemoryOperationError@(0)
The effect is not limited to this
On Thursday, 1 January 2015 at 15:14:41 UTC, Timo Gransch wrote:
Hi,
I have a class which unzips an archive into a temporary
directory below the system temp folder. I want to delete this
temporary directory in the class's destructor, but when I call
rmdir there, I get an
Timo Gransch via Digitalmars-d-learn píše v Čt 01. 01. 2015 v 16:14
+0100:
Hi,
I have a class which unzips an archive into a temporary directory below the
system temp folder. I want to delete this temporary directory in the class's
destructor, but when I call rmdir there, I get an
Am Thu, 01 Jan 2015 16:07:06 +
schrieb thedeemon dl...@thedeemon.com:
Solution in this case: call rmdir not from destructor.
Thanks (also to Daniel Kozak) for the information. I moved the functionality to
an explicitly called method.
Best regards,
Timo