comparison Implab/Promise.cs @ 65:653c4e04968b

minor changes
author cin
date Mon, 30 Jun 2014 13:55:22 +0400
parents b255e4aeef17
children 790e8a997d30
comparison
equal deleted inserted replaced
64:a809805210d1 65:653c4e04968b
605 // do nothing 605 // do nothing
606 return; 606 return;
607 } 607 }
608 } 608 }
609 609
610 protected virtual void OnStateChanged() { 610 void OnStateChanged() {
611 HandlerDescriptor handler; 611 HandlerDescriptor handler;
612 while (m_handlers.TryDequeue(out handler)) 612 while (m_handlers.TryDequeue(out handler))
613 InvokeHandler(handler); 613 InvokeHandler(handler);
614 } 614 }
615 615