##// END OF EJS Templates
removed the reference to the parent from the promise object this allows...
removed the reference to the parent from the promise object this allows resolved promises to release parents and results they are holding. Added complete set of operations to IPromiseBase interface Subscribing to the cancellation event of the promise should not affect it's IsExclusive property More tests.

File last commit:

r31:dafaadca5b9f default
r33:b255e4aeef17 default
Show More
Safe.cs
17 lines | 355 B | text/x-csharp | CSharpLexer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
public static class Safe
{
public static void Dispose<T>(T obj) where T : class
{
var disp = obj as IDisposable;
if (disp != null)
disp.Dispose();
}
}
}