Skip to content

Commit 483e70d

Browse files
committed
Call end() upon destruction
1 parent 123c282 commit 483e70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/GATT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GATTClass::GATTClass() :
3838

3939
GATTClass::~GATTClass()
4040
{
41-
clearAttributes();
41+
end();
4242
}
4343

4444
void GATTClass::begin()

0 commit comments

Comments
 (0)