ble works again after sleep - but we are still leaking

This commit is contained in:
geeksville
2020-02-23 13:20:46 -08:00
parent 5f88174dbf
commit f9ce6a53e1
8 changed files with 61 additions and 2 deletions

View File

@@ -31,3 +31,12 @@ public:
void *operator new(size_t size, SimpleAllocator &p);
/**
* Temporarily makes the specified Allocator be used for _all_ allocations. Useful when calling library routines
* that don't know about pools
*/
class AllocatorScope {
public:
AllocatorScope(SimpleAllocator &a);
~AllocatorScope();
};