Posted 30 July 2012 - 04:52 PM
Testing code:
Resulting error:
local a = fs.open("test1", "w")
local b = fs.open("test2", "w")
os.reboot()
Resulting error:
ComputerCraft: Error running task.
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
at java.util.HashMap$ValueIterator.next(HashMap.java:839)
at dan200.computer.core.FileMount.unmount(FileMount.java:599)
at dan200.computer.core.FileSystem.unload(FileSystem.java:399)
at dan200.computer.core.Computer$63.execute(Computer.java:2110)
at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:68)
at java.lang.Thread.run(Thread.java:679)