Skip to content

Commit 0268d47

Browse files
committed
Fix incorrect registration causing viewmodels to persist states
1 parent 6aec7d3 commit 0268d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Main/Root/RubberduckIoCInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ private void RegisterRefactoringDialogs(IWindsorContainer container)
630630
.FromAssemblyInThisApplication()
631631
.IncludeNonPublicTypes()
632632
.BasedOn(typeof(IRefactoringViewModel<>))
633-
.LifestyleSingleton()
633+
.LifestyleTransient()
634634
.WithServiceSelect((type, types) =>
635635
{
636636
var face = type.GetInterfaces().FirstOrDefault(i =>

0 commit comments

Comments
 (0)