Open joamag opened 8 years ago
While using Appier it's important to keep in mind that many features of it use the concept of global variable to simplify the usage process.
These same global variables may created weird runtime issues while running the App, mainly while running multiple Apps in the same process.
To avoid some of thoses issues a per-thread association should be created between an App and the thread where it's container (web server) is running.
The start() and stop() method of an app are called "inside" the web server container and should be used for this kind of registration.
start()
stop()
Description
While using Appier it's important to keep in mind that many features of it use the concept of global variable to simplify the usage process.
These same global variables may created weird runtime issues while running the App, mainly while running multiple Apps in the same process.
To avoid some of thoses issues a per-thread association should be created between an App and the thread where it's container (web server) is running.
Solutions
The
start()
andstop()
method of an app are called "inside" the web server container and should be used for this kind of registration.