Jelajahi Sumber

allow several close()

Nicolas Cannasse 19 tahun lalu
induk
melakukan
991a5e335c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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() { };
 	}