Correctly close native applications.

Bug #529.
mProcess deletion is handled in NativeApplication destructor.
Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Merge pull request #1 from nizovn/bug529

Correctly close native applications.
Generate ls2 role file for each native application on startup

Signed-off-by: Simon Busch <morphis@gravedo.de>
Ask memory monitor before launching a new native app

Signed-off-by: Simon Busch <morphis@gravedo.de>
Bring back most of the old memory monitor implementation

Currently only a memchute replacement is missing to watch the global system memory usage.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Generate role files for native and QML apps differently

Signed-off-by: Simon Busch <morphis@gravedo.de>
Some corrections to previously reimplemented memory monitor code

Signed-off-by: Simon Busch <morphis@gravedo.de>