Skip to content

Commit

Permalink
Fix infinite loop with properties count
Browse files Browse the repository at this point in the history
  • Loading branch information
computerquip-streamlabs committed May 7, 2018
1 parent cdd3696 commit b9b6374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ NAN_METHOD(Properties::count)

while (it.status() == obs::property::status_type::okay) {
++result;
it = it.next();
}

info.GetReturnValue().Set(result);
Expand Down

0 comments on commit b9b6374

Please sign in to comment.