浏览代码

allow several close()

Nicolas Cannasse 19 年之前
父节点
当前提交
991a5e335c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() { };
 	}