anchor.diff:  %%--------------------------------------------------------------------
   code_change(_OldVsn, State, _Extra) ->
     {ok, State}.
  -  
  +
   % INTERNAL METHODS
  -handle_restart_app(App) when is_record(App, app) -> app_manager:request_to_terminate_all_bees(App#app.name);
  -handle_restart_app(Name) -> app_manager:request_to_terminate_all_bees(Name).
  +handle_restart_app(App) when is_record(App, app) ->
  +  app_manager:terminate_app_instances(App#app.name);
  +handle_restart_app(Name) -> app_manager:terminate_app_instances(Name).
  +
   handle_expand_app(App) -> app_manager:request_to_expand_app(App).
  -handle_update_app(App) -> app_manager:request_to_update_app(App).+
  +handle_update_app(App) -> app_manager:request_to_update_app(App).
  
positive.code: %% request (or a system message).
  %%--------------------------------------------------------------------
  handle_info({bee_terminated, _Bee}, State) ->
    {ok, State};  
  
  handle_info(Info, State) ->
    ?LOG(debug, "app_event_handler info: ~p", [Info]),
  
negative.code: %%%-------------------------------------------------------------------
  %%% File    : app_event_handler.erl
  %%% Author  : Ari Lerner
  %%% Description :
  %%%
  %%% Created :  Mon Nov  2 12:13:56 PST 2009
  %%%-------------------------------------------------------------------
  