Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add release() as an alias of free()

  • Loading branch information...
commit 2eb13d96293765e558fe1a73efe1f957bd54b521 1 parent 1736a80
@xerial authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 larray/src/main/scala/xerial/larray/LArray.scala
View
5 larray/src/main/scala/xerial/larray/LArray.scala
@@ -220,6 +220,11 @@ trait LArray[A] extends LSeq[A] with WritableByteChannel {
def free
/**
+ * Release the memory of LArray. After calling this mehtod, thr results of calling the other methods becomes undefined or might cause JVM crash.
+ */
+ def release = free
+
+ /**
* Wraps with immutable interface
* @return
*/
Please sign in to comment.
Something went wrong with that request. Please try again.