removeCore method

void removeCore(
  1. String key
)

Remove a Core.

Remove the IModel, IView, IController, and IFacade instances for the given key.

  • Param key - the Multiton key of the Core to remove.

Implementation

static void removeCore(String key) {
  if (instanceMap[key] == null) return;
  Model.removeModel(key);
  View.removeView(key);
  Controller.removeController(key);
  instanceMap[key] = null;
}