Skip to content

Commit

Permalink
Bug fix - after leaks the event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Jul 2, 2018
1 parent 53e2b52 commit 0b43658
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/b6b_evloop.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of b6b.
*
* Copyright 2017 Dima Krasner
* Copyright 2017, 2018 Dima Krasner
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,14 +51,9 @@

#define B6B_EVLOOP_AFTER \
"{$0 add [$timer $2] [$proc _ {" \
"{$try {" \
"{$call [$list.index $. 0]}" \
"} {" \
"{$throw}" \
"} {" \
"{$try {{[$list.index $. 1] remove $1}}}" \
"}}" \
"} [$list.new [$list.new [$list.new $3]] $0]] {} {}}"
"{$call $.}\n" \
"{$throw}" \
"} [$list.new [$list.new $3]]] {} {}}"

#define B6B_EVLOOP_EVERY \
"{$0 add [$timer $2] [$proc _ {" \
Expand Down

0 comments on commit 0b43658

Please sign in to comment.