summaryrefslogtreecommitdiffabout
path: root/src/eyefiworker.cc
Side-by-side diff
Diffstat (limited to 'src/eyefiworker.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefiworker.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eyefiworker.cc b/src/eyefiworker.cc
index ac75fc1..1979b46 100644
--- a/src/eyefiworker.cc
+++ b/src/eyefiworker.cc
@@ -32,4 +32,6 @@ eyefiworker::eyefiworker()
;
}
+eyefiworker::~eyefiworker() {
+}
int eyefiworker::run(int bindport) {
@@ -57,5 +59,5 @@ int eyefiworker::run(int bindport) {
}
#endif /* NDEBUG */
- _exit(0);
+ throw throwable_exit(0);
}
close(socket); socket = SOAP_INVALID_SOCKET;