Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
e4bbfc82
Commit
e4bbfc82
authored
Mar 07, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/externals/single-application/SingleApplication): log abnormally exit
parent
b1b19d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
SingleApplication.cpp
...op/src/externals/single-application/SingleApplication.cpp
+5
-0
No files found.
linphone-desktop/src/externals/single-application/SingleApplication.cpp
View file @
e4bbfc82
...
...
@@ -21,6 +21,7 @@
// THE SOFTWARE.
#include <cstdlib>
#include <iostream>
#include <QtCore/QDir>
#include <QtCore/QProcess>
...
...
@@ -52,6 +53,8 @@ static const char SecondaryInstance = 'S';
static
const
char
Reconnect
=
'R'
;
static
const
char
InvalidConnection
=
'\0'
;
using
namespace
std
;
// -----------------------------------------------------------------------------
SingleApplicationPrivate
::
SingleApplicationPrivate
(
SingleApplication
*
q_ptr
)
:
q_ptr
(
q_ptr
)
{
...
...
@@ -250,6 +253,8 @@ void SingleApplicationPrivate::connectToPrimary (int msecs, char connectionType)
delete
sharedMem
.
back
();
sharedMem
.
pop_back
();
}
cout
<<
"[PROCESS ABNORMALLY TERMINATED]: "
<<
signum
<<
endl
;
::
exit
(
128
+
signum
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment