Skip to content

Commit 8815c6f

Browse files
committed
Fix SWIZ-62 by ensuring bean source is not null before attempting tear down.
1 parent 74f4fc9 commit 8815c6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/org/swizframework/core/BeanFactory.as

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ package org.swizframework.core
380380
*/
381381
public function tearDownBean( bean:Bean ):void
382382
{
383+
if( bean.source == null )
384+
return;
385+
383386
for each( var processor:IProcessor in swiz.processors )
384387
{
385388
// skip factory processors

0 commit comments

Comments
 (0)