mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 05:36:12 +00:00
fix: event multiplication introduced in ebf4d7
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
This commit is contained in:
@@ -152,14 +152,20 @@ class ExtensionService extends BaseService {
|
||||
this.state.extension.emit('preinit');
|
||||
}
|
||||
|
||||
['__on_boot.consolidation'] (...a) {
|
||||
this.state.extension.emit('init', ...a);
|
||||
async ['__on_boot.consolidation'] (...a) {
|
||||
await this.state.extension.emit('init', {}, {
|
||||
from_outside_of_extension: true,
|
||||
});
|
||||
}
|
||||
['__on_boot.activation'] (...a) {
|
||||
this.state.extension.emit('activate', ...a);
|
||||
async ['__on_boot.activation'] (...a) {
|
||||
await this.state.extension.emit('activate', {}, {
|
||||
from_outside_of_extension: true,
|
||||
});
|
||||
}
|
||||
['__on_boot.ready'] (...a) {
|
||||
this.state.extension.emit('ready', ...a);
|
||||
async ['__on_boot.ready'] (...a) {
|
||||
await this.state.extension.emit('ready', {}, {
|
||||
from_outside_of_extension: true,
|
||||
});
|
||||
}
|
||||
|
||||
['__on_install.routes'] (_, { app }) {
|
||||
|
||||
Reference in New Issue
Block a user