Commit cb3e514d authored by James Hughes's avatar James Hughes
Browse files

adding some closes to the playground.

parent 15b51ede
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ future

//: You can also force the value
future.forced(1.0)
c.close()

//: Allow the background threads to do their work
XCPSetExecutionShouldContinueIndefinitely()
+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ try c.swap("a","b")
try c.get("a").value!.toUtf8String()
try c.get("b").value!.toUtf8String()

c.close()
 No newline at end of file