[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] concurrency-libtask 0875d8d 05/10: Remove wrong assertion
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] concurrency-libtask 0875d8d 05/10: Remove wrong assertion |
Date: |
Wed, 26 Oct 2016 21:32:44 +0000 (UTC) |
branch: concurrency-libtask
commit 0875d8deee03e7269039d37ed31be71695a64b7c
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Remove wrong assertion
It’s totally fine to free a channel that still buffers something.
---
src/alloc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/alloc.c b/src/alloc.c
index 10b6c20..e999d22 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6947,7 +6947,6 @@ sweep_misc (void)
{
Channel *channel = mblk->markers[i].m.u_channel.channel;
eassert (channel != NULL);
- eassert (channel->nbuf == 0);
eassert (channel->asend.n == 0);
eassert (channel->arecv.n == 0);
chanfree (channel);
- [Emacs-diffs] concurrency-libtask updated (6852791 -> 9d613e5), Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask f6aa233 09/10: Revert change in fd_handler., Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask b09d4ba 08/10: Fix format specifiers, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask 38b61be 06/10: Transfer signals to main coroutine, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask 0875d8d 05/10: Remove wrong assertion,
Philipp Stephani <=
- [Emacs-diffs] concurrency-libtask b075dc7 04/10: malloc is redefined by config.h, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask 3a1331b 01/10: Clarify the behavior of minor mode commands, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask 7be3718 07/10: Add missing defsubr, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask a856316 03/10: Support for Windows fibers, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask 9d613e5 10/10: Merge branch 'concurrency-libtask' of git.sv.gnu.org:/srv/git/emacs into concurrency-libtask, Philipp Stephani, 2016/10/26
- [Emacs-diffs] concurrency-libtask ee44c80 02/10: WIP: CSP based on libtask, Philipp Stephani, 2016/10/26