Application closes when pmodule process is terminated from Task Manager

Issue:
During an interview, the interviewer opened Task Manager and manually ended the pmodule process. As soon as the process was terminated, the entire application closed immediately.

Steps to Reproduce:

  1. Launch the application.

  2. Open Task Manager.

  3. Locate the pmodule process.

  4. Right-click the process and select End Task.

Actual Result:

  • The pmodule process is terminated.

  • The application exits immediately.

Expected Result:

  • The application should handle the termination of the pmodule process gracefully.

  • If pmodule is a critical dependency, the application should either:

    • automatically restart the required process,

    • display an appropriate error or recovery message, or

    • recover without closing unexpectedly.

  • If exposing pmodule in Task Manager is not required, consider running it as a protected background service or redesigning the architecture to prevent accidental termination from immediately shutting down the application.

Impact:
This behavior was highlighted during an interview, where terminating the pmodule process caused the application to close unexpectedly, giving the impression that the application is not resilient to the failure of a dependent process.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🚨

Bug Report

Date

3 days ago

Subscribe to post

Get notified by email when there are changes.