diff --git a/src/servers/launch/Job.cpp b/src/servers/launch/Job.cpp index 9188f50a51..b97de58ee5 100644 --- a/src/servers/launch/Job.cpp +++ b/src/servers/launch/Job.cpp @@ -462,6 +462,9 @@ Job::HandleGetLaunchData(BMessage* message) if (IsLaunched()) return _SendLaunchDataReply(message); + if (!IsEnabled()) + return B_NOT_ALLOWED; + return fPendingLaunchDataReplies.AddItem(message) ? B_OK : B_NO_MEMORY; }