andrii-z4i / xmind-sdk-python

xmind sdk
MIT License
10 stars 1 forks source link

Fix adding/removing patches #45

Closed andrii-z4i closed 6 years ago

andrii-z4i commented 6 years ago

Problem:

existing implementation supports adding more than one running patch whenever removing patches will fail for more than one running patch

Solution

Don't allow to have more than one running patch for the same method. Removal process to be sensitive only for non-deleted patches.