Skip to content

Commit

Permalink
fix: oops - remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
DjDeveloperr authored Oct 11, 2024
1 parent 6782c8f commit cc59b9f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions native/src/context2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,12 @@ sk_context_state* clone_context_state(sk_context_state* state) {
}

void free_context_state(sk_context_state* state) {
std::cout << "free context state" << std::endl;
free_style(&state->fillStyle);
std::cout << "freed fill" << std::endl;
free_style(&state->strokeStyle);
std::cout << "freed stroke" << std::endl;
if (state->filter.get() != nullptr) state->filter->unref();
std::cout << "freed filter" << std::endl;
delete state->paint;
std::cout << "freed paint, transform: " << (void*)state->transform << std::endl;
delete state->transform;
std::cout << "freed transform" << std::endl;
free_font(state->font);
std::cout << "freed font" << std::endl;
}

// Utility
Expand Down

0 comments on commit cc59b9f

Please sign in to comment.