Remove the need for calling Process.close()
Remove the need for calling Process.close()

Remove the need for explicitly calling Process.close() by making sure we
automatically close and destroy the object when we finish evaluating a
chunk of JavaScript.

[ChangeLog] Process objects are automatically closed after the current
script execution is finished.

Change-Id: I997b989c50d08e2da3141b1c9ae8f999a38c7eb9
Reviewed-by: Christian Kandeler <3aa99dcdd3f0cac61fb81c2a11771c0cc2497607@qt.io>

qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs