Explorar o código

allow several close()

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
991a5e335c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/neko/io/Input.hx

+ 1 - 1
std/neko/io/Input.hx

@@ -49,7 +49,7 @@ class Input {
 	public function close() {
 		read = function(_,_,_) { return throw Error.Closed; };
 		readChar = function() { return throw Error.Closed; };
-		close = function() { throw Error.Closed; };
+		close = function() { };
 	}