Browse Source

removing failing cleanup code

PYADPT-55
Volker Birk 7 years ago
parent
commit
1018ab0013
  1. 6
      src/adapter.cc
  2. 2
      src/message_api.cc
  3. 2
      test/README.md
  4. 2
      test/basic_doctest.py

6
src/adapter.cc

@ -15,12 +15,6 @@ namespace pEp {
Adapter::~Adapter()
{
session(release);
if (flag_unregister) {
while (!queue().empty()) {
SYNC_EVENT ev = queue().pop_front();
free_Sync_event(ev);
}
}
}
PEP_SESSION Adapter::session(session_action action)

2
src/message_api.cc

@ -6,7 +6,7 @@
#include <pEp/pEpEngine.h>
#include <pEp/message_api.h>
#include <pEp/sync_api.h>
#include <pEp/Sync_codec.h>
#include <pEp/sync_codec.h>
namespace pEp {
namespace PythonAdapter {

2
test/README.md

@ -0,0 +1,2 @@
CAVEAT: set environment variable HOME to a test directory before executing these tests!

2
test/basic_doctest.py

@ -25,7 +25,7 @@ Please call me back
>>> m2 = m.encrypt()
>>> m3, keys, rating, flags = m2.decrypt()
>>> rating
6
3
"""
if __name__ == "__main__":

Loading…
Cancel
Save