Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Commit 3c3d0fc

Browse files
committed
Refactoring LifetimeManagers
1 parent 172c01e commit 3c3d0fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PerRequestLifetimeManager.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,10 @@ public override void RemoveValue(ILifetimeContainer container = null)
6565

6666
UnityPerRequestHttpModule.SetValue(_lifetimeKey, null);
6767
}
68+
69+
protected override LifetimeManager OnCreateLifetimeManager()
70+
{
71+
return new PerRequestLifetimeManager();
72+
}
6873
}
6974
}

0 commit comments

Comments
 (0)