jkbbwr
10/28/2018, 12:18 AMfun fopen(path: String, mode: String): File {
contract {
mustBeClosed()
}
}
Andreas Sinz
10/28/2018, 7:39 AMjkbbwr
10/29/2018, 2:00 PMAndreas Sinz
10/29/2018, 11:34 PMfile.close()
anywhere in the code would be enough?jkbbwr
10/30/2018, 5:48 PMjkbbwr
10/30/2018, 5:48 PMAndreas Sinz
11/01/2018, 9:35 AMfile.close()
down the road which is really hard and in some cases (e.g. with threads involved) it gets impossiblejkbbwr
11/01/2018, 3:13 PM