lib/packages/core-classes.js
function(event_name) {

		if (this._event_usage_counters[event_name] == 0) {
			Lava.logError("ViewManager: trying to release an event with zero usage.");
			return;
		}

		this._event_usage_counters[event_name]--;

		if (this._event_usage_counters[event_name] == 0) {

			this._shutdownEvent(event_name);

		}

	}
function(event_name) {

		if (this._event_usage_counters[event_name] == 0) {
			Lava.logError("ViewManager: trying to release an event with zero usage.");
			return;
		}

		this._event_usage_counters[event_name]--;

		if (this._event_usage_counters[event_name] == 0) {

			this._shutdownEvent(event_name);

		}

	}
function ( event_name ) { if ( this . _event_usage_counters [ event_name ] == 0 ) { Lava . logError ( "ViewManager: trying to release an event with zero usage." ) ; return ; } this . _event_usage_counters [ event_name ] -- ; if ( this . _event_usage_counters [ event_name ] == 0 ) { this . _shutdownEvent ( event_name ) ; } }
Inform that event consumer does not need that event anymore
@param {string} event_name
Inform that event consumer does not need that event anymore